ci: Windows installer is now deployed directly to artifacts directory

This commit is contained in:
OpenSauce04 2025-04-21 12:54:46 +01:00
parent 527610d599
commit 0051182338
2 changed files with 3 additions and 8 deletions

View file

@ -14,7 +14,7 @@ else
fi fi
# Archive and upload the artifacts. # Archive and upload the artifacts.
mkdir artifacts mkdir -p artifacts
function pack_artifacts() { function pack_artifacts() {
ARTIFACTS_PATH="$1" ARTIFACTS_PATH="$1"
@ -50,11 +50,6 @@ function pack_artifacts() {
rm -rf "$REV_NAME" rm -rf "$REV_NAME"
} }
if [ "$OS" = "windows" ] && [ "$GITHUB_REF_TYPE" = "tag" ]; then
# Move the installer to the artifacts directory
mv src/installer/bin/*.exe artifacts/
fi
if [ -n "$UNPACKED" ]; then if [ -n "$UNPACKED" ]; then
# Copy the artifacts to be uploaded unpacked. # Copy the artifacts to be uploaded unpacked.
for ARTIFACT in build/bundle/*; do for ARTIFACT in build/bundle/*; do

View file

@ -188,8 +188,8 @@ jobs:
run: | run: |
cd src\installer cd src\installer
"C:\Program Files (x86)\NSIS\makensis.exe" /DPRODUCT_VARIANT=${{ matrix.target }} /DPRODUCT_VERSION=${{ github.ref_name }} citra.nsi "C:\Program Files (x86)\NSIS\makensis.exe" /DPRODUCT_VARIANT=${{ matrix.target }} /DPRODUCT_VERSION=${{ github.ref_name }} citra.nsi
mkdir bin mkdir ..\..\artifacts 2> NUL
move /y *.exe bin\ move /y *.exe ..\..\artifacts\
shell: cmd shell: cmd
- name: Pack - name: Pack
run: ./.ci/pack.sh run: ./.ci/pack.sh