Skip to content

Commit

Permalink
Create upload.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunnky authored Oct 25, 2024
1 parent 759809c commit 4aee663
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and Upload

on:
push:
branches:
- master

jobs:
build:
name: Build and Upload
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[ci skip]') == false

steps:
- uses: actions/[email protected]

- name: Set up JDK 16
uses: actions/[email protected]
with:
java-version: 16
distribution: adopt

- name: Build with Maven
run: mvn package

- name: Upload to Builds
uses: WalshyDev/blob-builds/gh-action@main
with:
project: IDreamOfEasy
apiToken: ${{ secrets.BLOB_BUILDS_API_TOKEN }}
releaseNotes: ${{ github.event.head_commit.message }}

0 comments on commit 4aee663

Please sign in to comment.