implement database storage/saving #10
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
# Uploads executables for main OS archs to GitHub on tag push | |
name: Upload-Executables | |
on: push | |
jobs: | |
upload-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '17' | |
architecture: x64 | |
- name: Grant execute permission for gradlew | |
run: chmod +x ./gradlew | |
- name: JPackage using Gradle | |
run: ./gradlew jpackage | |
- name: Upload JPackage artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: mac-os-artifact | |
path: build/jpackage/ | |
upload-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '17' | |
architecture: x64 | |
- name: Grant execute permission for gradlew | |
run: chmod +x ./gradlew | |
- name: JPackage using Gradle | |
run: ./gradlew jpackage | |
- name: Upload JPackage artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ubuntu-artifact | |
path: build/jpackage/ | |
upload-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '17' | |
architecture: x64 | |
- name: JPackage using Gradle | |
run: ./gradlew jpackage | |
- name: Upload JPackage artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: win-artifact | |
path: build/jpackage/ |