diff --git a/.github/workflows/build_head.yml b/.github/workflows/build_head.yml index 4dd2149..803761e 100644 --- a/.github/workflows/build_head.yml +++ b/.github/workflows/build_head.yml @@ -32,9 +32,5 @@ jobs: GIT_HASH: ${{ steps.vars.outputs.git_hash }} - uses: actions/upload-artifact@v3 with: - name: wthit-fabric-${{ steps.vars.outputs.git_hash }} - path: "./platform/fabric/build/libs/**.jar" - - uses: actions/upload-artifact@v3 - with: - name: wthit-forge-${{ steps.vars.outputs.git_hash }} - path: "./platform/forge/build/libs/**.jar" + name: wthit-${{ steps.vars.outputs.git_hash }} + path: "./platform/*/build/libs/**.jar" diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 9b9819c..6e229fa 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -30,12 +30,8 @@ jobs: b2 clear-account - uses: actions/upload-artifact@v3 with: - name: wthit-fabric-${{ steps.vars.outputs.version }} - path: "./platform/fabric/build/libs/**.jar" - - uses: actions/upload-artifact@v3 - with: - name: wthit-forge-${{ steps.vars.outputs.version }} - path: "./platform/forge/build/libs/**.jar" + name: wthit-${{ steps.vars.outputs.git_hash }} + path: "./platform/*/build/libs/**.jar" - uses: alexellis/upload-assets@259de5111cb56966d046ced998941e93f91d2c93 env: GITHUB_TOKEN: ${{ github.token }}