diff --git a/.github/workflows/mc-publish.yml b/.github/workflows/mc-publish.yml deleted file mode 100644 index 69e5f62..0000000 --- a/.github/workflows/mc-publish.yml +++ /dev/null @@ -1,51 +0,0 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven - -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -name: mc-publish - -on: - workflow_dispatch: - release: - types: - - published -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - cache: maven - - name: Build with Maven - run: mvn -B package -T 1.5C --file pom.xml - - uses: Kir-Antipov/mc-publish@v3.3 - with: - # 暂时关闭 Modrinth 发布,等待稳定后再考虑 - #modrinth-id: gzG5z2gD - #modrinth-featured: true - #modrinth-token: ${{ secrets.MODRINTH_TOKEN }} - - github-discussion: Announcements - github-token: ${{ secrets.GITHUB_TOKEN }} - github-draft: false - files: | - ./target/*.jar - loaders: | - spigot - paper - purpur - game-versions: | - >=1.20 - game-version-filter: releases - java: | - 17 - dependencies: | - essentialsx(optional)