Skip to content

More pipeline debugging #8

More pipeline debugging

More pipeline debugging #8

Workflow file for this run

name: Publish to CurseForge
on:
push:
branches:
- main
- dev
paths:
- 'src/main/**/*'
- 'changes.md'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- name: publish
env:
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
run: |
chmod a+x ./gradlew
./gradlew curseforge
- uses: actions/upload-artifact@v3
with:
name: output-jar
path: ${{ github.workspace }}/build/libs/*.jar