Skip to content

Commit

Permalink
Update artifacts name
Browse files Browse the repository at this point in the history
  • Loading branch information
huxingyi committed Feb 21, 2023
1 parent 47b30ea commit 7ffeeea
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
run: |
sudo apt-get install -y libfuse2
cd ${GITHUB_WORKSPACE} && sh ./ci/appimage/bundle.sh
mv Dust3D-x86_64.AppImage dust3d-${{env.GITHUB_REF_NAME}}.AppImage
mv Dust3D-x86_64.AppImage dust3d-${{ github.event.workflow_run.head_branch }}.AppImage
- name: Upload AppImage
uses: actions/upload-artifact@v3
with:
name: dust3d-${{env.GITHUB_REF_NAME}}.AppImage
path: dust3d-${{env.GITHUB_REF_NAME}}.AppImage
name: dust3d-${{ github.event.workflow_run.head_branch }}.AppImage
path: dust3d-${{ github.event.workflow_run.head_branch }}.AppImage
win32-msvc-upload:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: windows-2019
Expand Down Expand Up @@ -89,13 +89,13 @@ jobs:
cp ${GITHUB_WORKSPACE}/../Qt/5.15.2/msvc2019_64/plugins/imageformats/qjpeg.dll ${GITHUB_WORKSPACE}/imageformats/qjpeg.dll
cp ${GITHUB_WORKSPACE}/../Qt/5.15.2/msvc2019_64/plugins/imageformats/qsvg.dll ${GITHUB_WORKSPACE}/imageformats/qsvg.dll
7z a Dust3D-win32-x86_64.zip -r ${GITHUB_WORKSPACE}/imageformats/
7z x Dust3D-win32-x86_64.zip -odust3d-${{env.GITHUB_REF_NAME}}
7z x Dust3D-win32-x86_64.zip -odust3d-${{ github.event.workflow_run.head_branch }}
shell: bash
- name: Upload zip
uses: actions/upload-artifact@v3
with:
name: dust3d-${{env.GITHUB_REF_NAME}}
path: dust3d-${{env.GITHUB_REF_NAME}}/
name: dust3d-${{ github.event.workflow_run.head_branch }}
path: dust3d-${{ github.event.workflow_run.head_branch }}/
macos-upload:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: macos-latest
Expand All @@ -114,10 +114,10 @@ jobs:
make -j`nproc`
- name: Generate DMG
run: |
mv ${GITHUB_WORKSPACE}/application/dust3d.app dust3d-${{env.GITHUB_REF_NAME}}.app
macdeployqt dust3d-${{env.GITHUB_REF_NAME}}.app -dmg
mv ${GITHUB_WORKSPACE}/application/dust3d.app dust3d-${{ github.event.workflow_run.head_branch }}.app
macdeployqt dust3d-${{ github.event.workflow_run.head_branch }}.app -dmg
- name: Upload DMG
uses: actions/upload-artifact@v3
with:
name: dust3d-${{env.GITHUB_REF_NAME}}.dmg
path: dust3d-${{env.GITHUB_REF_NAME}}.dmg
name: dust3d-${{ github.event.workflow_run.head_branch }}.dmg
path: dust3d-${{ github.event.workflow_run.head_branch }}.dmg

0 comments on commit 7ffeeea

Please sign in to comment.