File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 - name : Upload .deb package as artifact
7373 uses : actions/upload-artifact@v4
7474 with :
75- name : deb-package
75+ name : deb-package-${{ steps.setup_vars.outputs.target_arch }}
7676 path : target/debian/*.deb
7777 if : runner.os == 'Linux'
7878 - name : Upload binary to create universal binary
@@ -212,14 +212,16 @@ jobs:
212212 id : get_version
213213 run : |
214214 echo VERSION=${GITHUB_REF#refs/tags/} >> $GITHUB_OUTPUT
215- echo DEB_NAME=$(basename $(ls ${{ runner.temp }}/deb-package/*.deb | tail -n 1)) >> $GITHUB_OUTPUT
215+ echo DEB_NAME_X64=$(basename $(ls ${{ runner.temp }}/deb-package-x86_64/*.deb | tail -n 1)) >> $GITHUB_OUTPUT
216+ echo DEB_NAME_ARM=$(basename $(ls ${{ runner.temp }}/deb-package-aarch64/*.deb | tail -n 1)) >> $GITHUB_OUTPUT
216217 - name : Upload a Release Asset (ZIP)
217218 uses : softprops/action-gh-release@v1
218219 with :
219220 name : Release ${{ steps.get_version.outputs.VERSION }}
220221 files : |
221222 ${{ runner.temp }}/zip-archive-*/zifu-*.zip
222- ${{ runner.temp }}/deb-package/${{ steps.get_version.outputs.DEB_NAME }}
223+ ${{ runner.temp }}/deb-package-x86_64/${{ steps.get_version.outputs.DEB_NAME_X64 }}
224+ ${{ runner.temp }}/deb-package-aarch64/${{ steps.get_version.outputs.DEB_NAME_ARM }}
223225 - uses : actions/cache@v4
224226 with :
225227 path : |
You can’t perform that action at this time.
0 commit comments