Fixed job

This commit is contained in:
Juan Gilsanz Polo 2023-05-27 14:37:34 +02:00
parent 1c0e4629a2
commit 04df55865f

View file

@ -90,27 +90,30 @@ jobs:
with: with:
name: macos name: macos
path: AdGuardHomeManager_${{ github.event.inputs.version }}_macOS_Universal.dmg path: AdGuardHomeManager_${{ github.event.inputs.version }}_macOS_Universal.dmg
release-builds: release-builds-github:
name: Release builds to GitHub
runs-on: ubuntu-latest
needs: [build-android, build-macos] needs: [build-android, build-macos]
- uses: actions/checkout@v3 steps:
- uses: actions/download-artifact@v3 - uses: actions/checkout@v3
- name: Download Android artifacts - uses: actions/download-artifact@v3
with: - name: Download Android artifacts
name: android with:
- name: Download macOS artifacts name: android
with: - name: Download macOS artifacts
name: macos with:
- name: Release to GitHub name: macos
uses: softprops/action-gh-release@v1 - name: Release to GitHub
if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1
env: if: startsWith(github.ref, 'refs/tags/')
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} env:
with: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
draft: false with:
prerelease: false draft: false
name: v${{ github.event.inputs.version }} prerelease: false
tag_name: ${{ github.event.inputs.version }} name: v${{ github.event.inputs.version }}
files: | tag_name: ${{ github.event.inputs.version }}
AdGuardHomeManager_${{ github.event.inputs.version }}_Android.aab files: |
AdGuardHomeManager_${{ github.event.inputs.version }}_Android.apk AdGuardHomeManager_${{ github.event.inputs.version }}_Android.aab
AdGuardHomeManager_${{ github.event.inputs.version }}_macOS_Universal.dmg AdGuardHomeManager_${{ github.event.inputs.version }}_Android.apk
AdGuardHomeManager_${{ github.event.inputs.version }}_macOS_Universal.dmg