use blob builds with auto updater #1
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 and Deploy to Blob-Builds | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
blob-build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 16 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 16 | |
- name: Build with Maven | |
run: mvn package | |
- name: Upload to Blob Builds | |
uses: WalshyDev/blob-builds/gh-action@main | |
with: | |
project: RelicsOfCthonia | |
apiToken: ${{ secrets.BLOB_BUILDS_API_TOKEN }} | |
releaseNotes: ${{ github.event.head_commit.message }} |