Skip to content

Commit

Permalink
修改自动构建脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu-ZT committed Dec 6, 2024
1 parent 48f35c8 commit 08c98b2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 46 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ on:
- settings.gradle

jobs:
gametest:
secrets: inherit
uses: ./.github/workflows/gametest.yml
build:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -73,3 +70,15 @@ jobs:
MAVEN_USERNAME: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASS }}
continue-on-error: true

- name: Fabric Game Test
uses: Anvil-Dev/[email protected]
with:
mod: fabric/build/libs/anvilcraft-fabric-${{ steps.version.outputs.version }}.jar
extra-mods: patchouli:1.20.1-84-fabric cloth-config:11.1.136+fabric

- name: Forge Game Test
uses: Anvil-Dev/[email protected]
with:
mod: forge/build/libs/anvilcraft-forge-${{ steps.version.outputs.version }}.jar
extra-mods: patchouli:1.20.1-84-forge cloth-config:11.1.136+forge
39 changes: 0 additions & 39 deletions .github/workflows/gametest.yml

This file was deleted.

17 changes: 13 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ on:
- settings.gradle

jobs:
gametest:
secrets: inherit
uses: ./.github/workflows/gametest.yml
build:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -64,4 +61,16 @@ jobs:
name: "${{ steps.properties.outputs.mod_name }} ${{ steps.version.outputs.version }}"
path: |
fabric/build/libs/anvilcraft-fabric-${{ steps.version.outputs.version }}.jar
forge/build/libs/anvilcraft-forge-${{ steps.version.outputs.version }}.jar
forge/build/libs/anvilcraft-forge-${{ steps.version.outputs.version }}.jar
- name: Fabric Game Test
uses: Anvil-Dev/[email protected]
with:
mod: fabric/build/libs/anvilcraft-fabric-${{ steps.version.outputs.version }}.jar
extra-mods: patchouli:1.20.1-84-fabric cloth-config:11.1.136+fabric

- name: Forge Game Test
uses: Anvil-Dev/[email protected]
with:
mod: forge/build/libs/anvilcraft-forge-${{ steps.version.outputs.version }}.jar
extra-mods: patchouli:1.20.1-84-forge cloth-config:11.1.136+forge

0 comments on commit 08c98b2

Please sign in to comment.