File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : build and push devcontainer
1+ name : devcontainer
22
33on :
44 workflow_dispatch :
Original file line number Diff line number Diff line change @@ -126,6 +126,11 @@ jobs:
126126 # See: https://github.com/actions/virtual-environments/issues/2619
127127 gtar -czvf "torii_${VERSION_NAME}_${PLATFORM_NAME}_${ARCH}.tar.gz" -C ./target/${TARGET}/release torii
128128 echo "file_name=torii_${VERSION_NAME}_${PLATFORM_NAME}_${ARCH}.tar.gz" >> $GITHUB_OUTPUT
129+ else
130+ cd ./target/${TARGET}/release
131+ 7z a -tzip "torii_${VERSION_NAME}_${PLATFORM_NAME}_${ARCH}.zip" torii.exe
132+ mv "torii_${VERSION_NAME}_${PLATFORM_NAME}_${ARCH}.zip" ../../../
133+ echo "file_name=torii_${VERSION_NAME}_${PLATFORM_NAME}_${ARCH}.zip" >> $GITHUB_OUTPUT
129134 fi
130135 shell : bash
131136
@@ -170,7 +175,7 @@ jobs:
170175 echo "version=v$(cargo get workspace.package.version)" >> $GITHUB_OUTPUT
171176 - name : Display structure of downloaded files
172177 run : ls -R artifacts
173- - run : gh release create ${{ steps.version_info.outputs.version }} ./artifacts/* --generate-notes --draft
178+ - run : gh release create ${{ steps.version_info.outputs.version }} ./artifacts/*.{gz,zip} --generate-notes --draft
174179
175180 docker-build-and-push :
176181 runs-on : ubuntu-latest-4-cores
You can’t perform that action at this time.
0 commit comments