From 1666c164aabbcc0108c7c21e4de02a67977310f1 Mon Sep 17 00:00:00 2001 From: deirn Date: Sun, 14 Jan 2024 21:10:29 +0700 Subject: [PATCH] fix workflows (cherry picked from commit 724a3ab8b768521b3e8d562c13df5b75ae436475) --- .github/workflows/build_head.yml | 8 ++------ .github/workflows/build_release.yml | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) 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 }}