fix NPE on fermenter, improper energy/water consumption, and migrate … #48
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
# Modified from https://blob.build/docs/upload/github-action/ | |
name: Publish build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
name: Upload build | |
runs-on: ubuntu-latest | |
if: contains(github.event.head_commit.message, '[ci skip]') == false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
java-version: "17" | |
distribution: "adopt" | |
- name: Build with Maven | |
run: mvn clean package | |
- name: Upload to Blob Builds | |
uses: WalshyDev/blob-builds/gh-action@main | |
with: | |
project: Gastronomicon | |
apiToken: ${{ secrets.BLOB_BUILDS_API_TOKEN }} | |
releaseNotes: ${{ github.event.head_commit.message }} |