Skip to content

画面の振動演出を追加 #59

画面の振動演出を追加

画面の振動演出を追加 #59

Workflow file for this run

name: Publish
on: [ push ]
concurrency: ci-${{ github.ref }}
jobs:
publish:
permissions:
contents: write
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci-skip')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: gradle
- name: Generate build number
id: buildnumber
uses: onyxmueller/[email protected]
with:
token: ${{ secrets.github_token }}
prefix: ${{ github.ref_name }}
- name: Publish to Maven repository
uses: uTen2c/[email protected]
with:
publish-path: ${{ github.workspace }}/build/repo
publish-task: publishAll
repo: ${{ secrets.REPO }}
token-user: ${{ secrets.TOKEN_USER }}
token: ${{ secrets.TOKEN }}
commit-user-name: ${{ secrets.PUBLISH_COMMIT_USER_NAME }}
commit-user-email: ${{ secrets.PUBLISH_COMMIT_USER_EMAIL }}
- name: Publish to Modrinth
run: ./gradlew modrinth
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}