Skip to content

Commit

Permalink
ci: upload to uniquely named artifacts (#3434)
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi authored Dec 18, 2023
1 parent 59f2077 commit 5ca29d4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
uses: actions/upload-artifact@v4
if: startsWith(github.ref, 'refs/tags/')
with:
name: release
name: release-win
path: |
texstudio-${{ steps.package.outputs.GIT_VERSION }}-win-qt6.exe
texstudio-${{ steps.package.outputs.GIT_VERSION }}-win-portable-qt6.zip
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
uses: actions/upload-artifact@v4
if: startsWith(github.ref, 'refs/tags/')
with:
name: release
name: release-linux
path: texstudio-${{ steps.package.outputs.GIT_VERSION }}-x86_64.AppImage


Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
uses: actions/upload-artifact@v4
if: startsWith(github.ref, 'refs/tags/')
with:
name: release
name: release-osx
path: texstudio-${{ steps.package.outputs.GIT_VERSION }}-osx.dmg

release:
Expand All @@ -241,10 +241,20 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Download temp artifact
- name: Download Windows release asset(s)
uses: actions/download-artifact@v4
with:
name: release
name: release-win

- name: Download Linux release asset(s)
uses: actions/download-artifact@v4
with:
name: release-linux

- name: Download OS X release asset(s)
uses: actions/download-artifact@v4
with:
name: release-osx

- name: Calculate hashes
run: |
Expand Down

0 comments on commit 5ca29d4

Please sign in to comment.