Skip to content

Commit

Permalink
feat: updade blob-builds maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RelativoBR authored Feb 22, 2024
1 parent 3f9fc58 commit f2651ba
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
name: Java CI

on:
release:
types: [created]
push:
branches:
- main

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.3.3
- name: Set up JDK 1.8
uses: actions/setup-java@v1.4.3
with:
java-version: 1.8
- name: Build with Maven
run: mvn package --file pom.xml
- 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: Supreme
apiToken: ${{ secrets.BLOB_BUILDS_API_TOKEN }}
file: ./target/Supreme.jar
releaseNotes: ${{ github.event.head_commit.message }}

0 comments on commit f2651ba

Please sign in to comment.