🐛 fix: Fix Auto Updater for blob.builds #3
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: Blob Build Deployment | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
name: Upload Release | |
runs-on: ubuntu-latest | |
if: contains(github.event.head_commit.message, '[ci skip]') == false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 16 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 16 | |
- name: Build with Maven | |
run: mvn -B package | |
- name: Upload to Blob Builds | |
uses: WalshyDev/blob-builds/gh-action@main | |
with: | |
project: DynaTech | |
apiToken: ${{ secrets.BLOB_BUILDS_API_TOKEN }} | |
file: ./target/DynaTech.jar | |
releaseNotes: ${{ github.event.head_commit.message }} | |
releaseChannel: 'Main' |