diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-02-26 00:29:28 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-02-26 00:29:28 +0900 |
| commit | 2af5cc670f5769f55353bd2c2d744031f3b7575e (patch) | |
| tree | 30f65ddf9d5981921e133bd2dc3a1a95f6f3e59c /.github | |
| parent | 382ccbc765cd1855d688f60f1235f3f4bfaac9d8 (diff) | |
| download | LunaticChat-2af5cc670f5769f55353bd2c2d744031f3b7575e.tar.gz LunaticChat-2af5cc670f5769f55353bd2c2d744031f3b7575e.tar.bz2 LunaticChat-2af5cc670f5769f55353bd2c2d744031f3b7575e.zip | |
ci: Merge Paper and Folia release step
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yaml | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b675d07..e15d426 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,7 +12,6 @@ jobs: version: ${{ steps.get_version.outputs.version }} paper_jar_name: ${{ steps.get_version.outputs.paper_jar_name }} velocity_jar_name: ${{ steps.get_version.outputs.velocity_jar_name }} - folia_jar_name: ${{ steps.get_version.outputs.folia_jar_name }} steps: - name: Checkout repository uses: actions/checkout@v6 @@ -24,7 +23,6 @@ jobs: echo "version=$VERSION" >> $GITHUB_OUTPUT echo "paper_jar_name=LunaticChat-$VERSION.jar" >> $GITHUB_OUTPUT echo "velocity_jar_name=LunaticChat-$VERSION-velocity.jar" >> $GITHUB_OUTPUT - echo "folia_jar_name=LunaticChat-$VERSION.jar" >> $GITHUB_OUTPUT echo "Extracted version: $VERSION" - name: Validate tag matches version @@ -115,34 +113,20 @@ jobs: --draft \ --notes "" - - name: Publish to Modrinth (Paper) + - name: Publish to Modrinth (Paper/Folia) uses: cloudnode-pro/modrinth-publish@482deb71067c5207ce5ba263de0c36968d5c2b7b # v2 with: token: ${{ secrets.MODRINTH_TOKEN }} - name: v${{ needs.validate.outputs.version }} (Paper v${{ env.MODRINTH_MC_VERSION }}) + name: v${{ needs.validate.outputs.version }} (Paper/Folia v${{ env.MODRINTH_MC_VERSION }}) project: ${{ secrets.MODRINTH_PROJECT_ID }} - version: ${{ needs.validate.outputs.version }}-paper + version: ${{ needs.validate.outputs.version }} channel: ${{ env.MODRINTH_CHANNEL }} changelog: |- Please refer to the [GitHub release](https://github.com/m1sk9/LunaticChat/releases/tag/v${{ needs.validate.outputs.version }}) for update details. - loaders: paper + loaders: paper, folia game-versions: ${{ env.MODRINTH_GAME_VERSIONS }} files: platform-paper/build/libs/${{ needs.validate.outputs.paper_jar_name }} - - name: Publish to Modrinth (Folia) - uses: cloudnode-pro/modrinth-publish@482deb71067c5207ce5ba263de0c36968d5c2b7b # v2 - with: - token: ${{ secrets.MODRINTH_TOKEN }} - name: v${{ needs.validate.outputs.version }} (Folia v${{ env.MODRINTH_MC_VERSION }}) - project: ${{ secrets.MODRINTH_PROJECT_ID }} - version: ${{ needs.validate.outputs.version }}-folia - channel: ${{ env.MODRINTH_CHANNEL }} - changelog: |- - Please refer to the [GitHub release](https://github.com/m1sk9/LunaticChat/releases/tag/v${{ needs.validate.outputs.version }}) for update details. - loaders: folia - game-versions: ${{ env.MODRINTH_GAME_VERSIONS }} - files: platform-paper/build/libs/${{ needs.validate.outputs.folia_jar_name }} - - name: Publish to Modrinth (Velocity) uses: cloudnode-pro/modrinth-publish@482deb71067c5207ce5ba263de0c36968d5c2b7b # v2 with: |
