mirror of
https://github.com/Lime3DS/Lime3DS
synced 2025-10-05 19:22:47 +02:00
ci: Windows installer is now deployed directly to artifacts directory
This commit is contained in:
@@ -14,7 +14,7 @@ else
|
||||
fi
|
||||
|
||||
# Archive and upload the artifacts.
|
||||
mkdir artifacts
|
||||
mkdir -p artifacts
|
||||
|
||||
function pack_artifacts() {
|
||||
ARTIFACTS_PATH="$1"
|
||||
@@ -50,11 +50,6 @@ function pack_artifacts() {
|
||||
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
|
||||
# Copy the artifacts to be uploaded unpacked.
|
||||
for ARTIFACT in build/bundle/*; do
|
||||
|
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -188,8 +188,8 @@ jobs:
|
||||
run: |
|
||||
cd src\installer
|
||||
"C:\Program Files (x86)\NSIS\makensis.exe" /DPRODUCT_VARIANT=${{ matrix.target }} /DPRODUCT_VERSION=${{ github.ref_name }} citra.nsi
|
||||
mkdir bin
|
||||
move /y *.exe bin\
|
||||
mkdir ..\..\artifacts 2> NUL
|
||||
move /y *.exe ..\..\artifacts\
|
||||
shell: cmd
|
||||
- name: Pack
|
||||
run: ./.ci/pack.sh
|
||||
|
Reference in New Issue
Block a user