From 04df55865ff60ded5865e0820c523c8c2b6e119c Mon Sep 17 00:00:00 2001 From: Juan Gilsanz Polo Date: Sat, 27 May 2023 14:37:34 +0200 Subject: [PATCH] Fixed job --- .github/workflows/release.yaml | 49 ++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e669a67..b04cea1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -90,27 +90,30 @@ jobs: with: name: macos 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] - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 - - name: Download Android artifacts - with: - name: android - - name: Download macOS artifacts - with: - name: macos - - name: Release to GitHub - uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - with: - draft: false - prerelease: false - name: v${{ github.event.inputs.version }} - tag_name: ${{ github.event.inputs.version }} - files: | - AdGuardHomeManager_${{ github.event.inputs.version }}_Android.aab - AdGuardHomeManager_${{ github.event.inputs.version }}_Android.apk - AdGuardHomeManager_${{ github.event.inputs.version }}_macOS_Universal.dmg \ No newline at end of file + steps: + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 + - name: Download Android artifacts + with: + name: android + - name: Download macOS artifacts + with: + name: macos + - name: Release to GitHub + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + with: + draft: false + prerelease: false + name: v${{ github.event.inputs.version }} + tag_name: ${{ github.event.inputs.version }} + files: | + AdGuardHomeManager_${{ github.event.inputs.version }}_Android.aab + AdGuardHomeManager_${{ github.event.inputs.version }}_Android.apk + AdGuardHomeManager_${{ github.event.inputs.version }}_macOS_Universal.dmg \ No newline at end of file