Compare commits

...

3 Commits

Author SHA1 Message Date
OMGeeky
8399ae60ee upload zip as soon as its ready and upload exe later 2025-10-02 17:40:00 +02:00
OMGeeky
1b643f4aa1 fix nsis arguments (from switching to linux) 2025-10-02 17:10:23 +02:00
OMGeeky
4293095e8e fix warning/error output in action 2025-10-02 17:09:08 +02:00

View File

@@ -41,6 +41,14 @@ jobs:
ls -la common/ATCS.jar
ls -la ATCS_${{ env.VERSION }}.zip
- name: Upload Release Assets (zip)
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
./packaging/ATCS_${{ env.VERSION }}.zip
- name: 'Install makensis (apt)'
run: sudo apt update && sudo apt install -y nsis nsis-pluginapi
continue-on-error: true
@@ -49,24 +57,13 @@ jobs:
uses: joncloud/makensis-action@v4
with:
script-file: packaging/Windows/ATCS_Installer.nsi
arguments: /DVERSION="${{ env.VERSION }}"
arguments: -DVERSION="${{ env.VERSION }}"
continue-on-error: true
- name: Determine Upload Files
id: check_files_to_upload
shell: bash
run: |
FILES="./packaging/ATCS_${VERSION}.zip"
if [ -f "./packaging/ATCS_${VERSION}_Setup.exe" ]; then
FILES="$FILES ./packaging/ATCS_${VERSION}_Setup.exe"
else
run: echo "::warning::exe-installer created by NSIS was not found; only ZIP will be uploaded."
fi
echo "files=$FILES" >> $GITHUB_OUTPUT
- name: Upload Release Assets
- name: Upload Release Assets (exe)
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: ${{ steps.check_files_to_upload.outputs.files }}
files: ./packaging/ATCS_${{ env.VERSION }}_Setup.exe
continue-on-error: true