@@ -34,12 +34,12 @@ jobs:
34
34
run : |
35
35
sudo apt-get install -y libfuse2
36
36
cd ${GITHUB_WORKSPACE} && sh ./ci/appimage/bundle.sh
37
- mv Dust3D-x86_64.AppImage dust3d-${{env.GITHUB_REF_NAME }}.AppImage
37
+ mv Dust3D-x86_64.AppImage dust3d-${{ github.event.workflow_run.head_branch }}.AppImage
38
38
- name : Upload AppImage
39
39
uses : actions/upload-artifact@v3
40
40
with :
41
- name : dust3d-${{env.GITHUB_REF_NAME }}.AppImage
42
- path : dust3d-${{env.GITHUB_REF_NAME }}.AppImage
41
+ name : dust3d-${{ github.event.workflow_run.head_branch }}.AppImage
42
+ path : dust3d-${{ github.event.workflow_run.head_branch }}.AppImage
43
43
win32-msvc-upload :
44
44
if : ${{ github.event.workflow_run.conclusion == 'success' }}
45
45
runs-on : windows-2019
@@ -89,13 +89,13 @@ jobs:
89
89
cp ${GITHUB_WORKSPACE}/../Qt/5.15.2/msvc2019_64/plugins/imageformats/qjpeg.dll ${GITHUB_WORKSPACE}/imageformats/qjpeg.dll
90
90
cp ${GITHUB_WORKSPACE}/../Qt/5.15.2/msvc2019_64/plugins/imageformats/qsvg.dll ${GITHUB_WORKSPACE}/imageformats/qsvg.dll
91
91
7z a Dust3D-win32-x86_64.zip -r ${GITHUB_WORKSPACE}/imageformats/
92
- 7z x Dust3D-win32-x86_64.zip -odust3d-${{env.GITHUB_REF_NAME }}
92
+ 7z x Dust3D-win32-x86_64.zip -odust3d-${{ github.event.workflow_run.head_branch }}
93
93
shell : bash
94
94
- name : Upload zip
95
95
uses : actions/upload-artifact@v3
96
96
with :
97
- name : dust3d-${{env.GITHUB_REF_NAME }}
98
- path : dust3d-${{env.GITHUB_REF_NAME }}/
97
+ name : dust3d-${{ github.event.workflow_run.head_branch }}
98
+ path : dust3d-${{ github.event.workflow_run.head_branch }}/
99
99
macos-upload :
100
100
if : ${{ github.event.workflow_run.conclusion == 'success' }}
101
101
runs-on : macos-latest
@@ -114,10 +114,10 @@ jobs:
114
114
make -j`nproc`
115
115
- name : Generate DMG
116
116
run : |
117
- mv ${GITHUB_WORKSPACE}/application/dust3d.app dust3d-${{env.GITHUB_REF_NAME }}.app
118
- macdeployqt dust3d-${{env.GITHUB_REF_NAME }}.app -dmg
117
+ mv ${GITHUB_WORKSPACE}/application/dust3d.app dust3d-${{ github.event.workflow_run.head_branch }}.app
118
+ macdeployqt dust3d-${{ github.event.workflow_run.head_branch }}.app -dmg
119
119
- name : Upload DMG
120
120
uses : actions/upload-artifact@v3
121
121
with :
122
- name : dust3d-${{env.GITHUB_REF_NAME }}.dmg
123
- path : dust3d-${{env.GITHUB_REF_NAME }}.dmg
122
+ name : dust3d-${{ github.event.workflow_run.head_branch }}.dmg
123
+ path : dust3d-${{ github.event.workflow_run.head_branch }}.dmg
0 commit comments