Skip to content

Commit

Permalink
upload mod jar as actions artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Jul 28, 2023
1 parent 1a70eb0 commit 7286c5d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build
on:
push:
release:
types: [created]

jobs:
build:
Expand All @@ -20,4 +22,11 @@ jobs:
- name: Build
uses: gradle/gradle-build-action@v2
with:
arguments: build
arguments: build

- name: Upload jar to artifacts
if: ${{ github.event_name == 'release' }}
uses: actions/upload-artifact@v3
with:
name: mod-jar
path: build/libs/*.jar

0 comments on commit 7286c5d

Please sign in to comment.