Make server type (Paper, Folia) selectable (#167) #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload pages | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
upload: | |
name: Upload pages | |
env: | |
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} | |
HANGAR_TOKEN: ${{ secrets.HANGAR_TOKEN }} | |
UPDATE_PAGES: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate Gradle wrapper | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Run tasks | |
run: | | |
./gradlew \ | |
modrinthSyncBody \ | |
syncAllPluginPublicationPagesToHangar |