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:
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
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