mirror of
https://github.com/OMGeeky/ATCS.git
synced 2026-01-01 00:51:32 +01:00
Compare commits
1 Commits
v0.6.23-pr
...
fix-releas
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8399ae60ee |
25
.github/workflows/release.yml
vendored
25
.github/workflows/release.yml
vendored
@@ -41,6 +41,14 @@ jobs:
|
|||||||
ls -la common/ATCS.jar
|
ls -la common/ATCS.jar
|
||||||
ls -la ATCS_${{ env.VERSION }}.zip
|
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)'
|
- name: 'Install makensis (apt)'
|
||||||
run: sudo apt update && sudo apt install -y nsis nsis-pluginapi
|
run: sudo apt update && sudo apt install -y nsis nsis-pluginapi
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
@@ -52,21 +60,10 @@ jobs:
|
|||||||
arguments: -DVERSION="${{ env.VERSION }}"
|
arguments: -DVERSION="${{ env.VERSION }}"
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Determine Upload Files
|
- name: Upload Release Assets (exe)
|
||||||
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
|
|
||||||
echo "::error::exe-installer created by NSIS was not found; only ZIP will be uploaded."
|
|
||||||
fi
|
|
||||||
echo "files=$FILES" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Upload Release Assets
|
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
files: ${{ steps.check_files_to_upload.outputs.files }}
|
files: ./packaging/ATCS_${{ env.VERSION }}_Setup.exe
|
||||||
|
continue-on-error: true
|
||||||
|
|||||||
Reference in New Issue
Block a user