Skip to content

Commit

Permalink
attempt mc-publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew6rant committed Jun 23, 2022
1 parent 4843753 commit 41ac521
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: build
env:
CF_TOKEN: ${{ secrets.CF_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
run: ./gradlew build
- name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish Artifacts

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 17
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- uses: Kir-Antipov/[email protected]
with:
curseforge-id: 515415
modrinth-id: 7pbXPVrB
modrinth-featured: true
modrinth-unfeature-mode: intersection
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
version-type: release
github-tag: 3.0.0-1.18.2
loaders: |
fabric
quilt

0 comments on commit 41ac521

Please sign in to comment.