Working on github action to build and sign the Windows installer. #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Ubuntu Installer | |
on: | |
push: | |
branches: | |
- release | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Extract Version from Linux Script | |
id: extract_version_linux | |
run: | | |
version=$(grep -- '--app-version' installer/create_ubuntu_installer.sh | sed 's/.*--app-version "\(.*\)".*/\1/') | |
echo "VERSION=$version" >> $GITHUB_ENV | |
echo "Installer version: $version" | |
- name: Build Linux Installer | |
run: | | |
cd installer | |
bash create_ubuntu_installer.sh | |
- name: Upload Linux Installer | |
uses: actions/upload-artifact@v4 | |
with: | |
name: linux-installer | |
path: installer/nortantis_${{ env.VERSION }}_amd64.deb |