mirror of
https://github.com/OMGeeky/ATCS.git
synced 2026-02-23 15:38:23 +01:00
switch to linux runner (windows-latest is annoying me with undocumented breaking changes...)
This commit is contained in:
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -36,12 +36,16 @@ jobs:
|
|||||||
cd packaging
|
cd packaging
|
||||||
chmod +x package.sh
|
chmod +x package.sh
|
||||||
echo "Building JAR and ZIP for version: ${{ env.VERSION }}"
|
echo "Building JAR and ZIP for version: ${{ env.VERSION }}"
|
||||||
./package.sh -windows
|
./package.sh
|
||||||
echo "Created artifacts:"
|
echo "Created artifacts:"
|
||||||
ls -la common/ATCS.jar
|
ls -la common/ATCS.jar
|
||||||
ls -la ATCS_${{ env.VERSION }}.zip
|
ls -la ATCS_${{ env.VERSION }}.zip
|
||||||
|
|
||||||
- name: Install NSIS
|
- name: 'Install makensis (apt)'
|
||||||
|
run: sudo apt update && sudo apt install -y nsis nsis-pluginapi
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Create Windows-Installer with NSIS
|
||||||
uses: joncloud/makensis-action@v4
|
uses: joncloud/makensis-action@v4
|
||||||
with:
|
with:
|
||||||
script-file: packaging/Windows/ATCS_Installer.nsi
|
script-file: packaging/Windows/ATCS_Installer.nsi
|
||||||
@@ -49,7 +53,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Determine Upload Files
|
- name: Determine Upload Files
|
||||||
id: upload_files
|
id: check_files_to_upload
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
FILES="./packaging/ATCS_${VERSION}.zip"
|
FILES="./packaging/ATCS_${VERSION}.zip"
|
||||||
@@ -65,4 +69,4 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
files: ${{ steps.upload_files.outputs.files }}
|
files: ${{ steps.check_files_to_upload.outputs.files }}
|
||||||
|
|||||||
Reference in New Issue
Block a user