Skip to content

Commit

Permalink
Update release workflow: change name pattern for release binaries, up…
Browse files Browse the repository at this point in the history
…date job dependencies
  • Loading branch information
sabicalija committed Jan 8, 2024
1 parent 6bb9e10 commit a40709f
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
draft: false
prerelease: false
release-upload-linux:
needs: [version, linux, release]
needs: [version, release]
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
Expand All @@ -88,19 +88,17 @@ jobs:
uses: actions/download-artifact@v2
with:
name: AsTeRICS ${{ needs.version.outputs.version }} (${{ matrix.os }})
- name: List files in directory # Debug
run: ls -la
- name: Upload Release Asset (Linux)
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: ./asterics-are-${{ needs.version.outputs.version }}.deb
asset_name: asterics-are-${{ matrix.os }}-${{ needs.version.outputs.version }}.deb
asset_name: asterics-are-${{ needs.version.outputs.version }}-${{ matrix.os }}.deb
asset_content_type: application/vnd.debian.binary-package
release-upload-windows:
needs: [version, windows, release]
needs: [version, release]
strategy:
matrix:
os: [windows-2022, windows-2019]
Expand All @@ -110,19 +108,17 @@ jobs:
uses: actions/download-artifact@v2
with:
name: AsTeRICS ${{ needs.version.outputs.version }} (${{ matrix.os }})
- name: List files in directory # Debug
run: ls -la
- name: Upload Release Asset (Windows)
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: ./Setup_AsTeRICS_${{ needs.version.outputs.version }}.exe
asset_name: Setup_AsTeRICS_${{ matrix.os }}_${{ needs.version.outputs.version }}.exe
asset_name: Setup_AsTeRICS_${{ needs.version.outputs.version }}_${{ matrix.os }}.exe
asset_content_type: application/x-msdownload
release-upload-mac:
needs: [version, mac, release]
needs: [version, release]
strategy:
matrix:
os: [macos-13, macos-12, macos-11]
Expand All @@ -132,14 +128,12 @@ jobs:
uses: actions/download-artifact@v2
with:
name: AsTeRICS ${{ needs.version.outputs.version }} (${{ matrix.os }})
- name: List files in directory # Debug
run: ls -la
- name: Upload Release Asset (macOS)
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: ./asterics-are-javaembedded-${{ needs.version.outputs.version }}.dmg
asset_name: asterics-are-javaembedded-${{ matrix.os }})-${{ needs.version.outputs.version }}.dmg
asset_name: asterics-are-javaembedded-${{ needs.version.outputs.version }}-${{ matrix.os }}.dmg
asset_content_type: application/x-apple-diskimage

0 comments on commit a40709f

Please sign in to comment.