diff --git a/.github/workflows/build_head.yml b/.github/workflows/build_head.yml index 1f7a644..911300a 100644 --- a/.github/workflows/build_head.yml +++ b/.github/workflows/build_head.yml @@ -32,9 +32,5 @@ jobs: MOD_VERSION: ${{ steps.vars.outputs.VERSION }} - uses: actions/upload-artifact@v2 with: - name: megane jij ${{ steps.vars.outputs.VERSION }} - path: "./build/libs/**.jar" - - uses: actions/upload-artifact@v2 - with: - name: megane sub ${{ steps.vars.outputs.VERSION }} - path: "./megane-*/build/libs/**.jar" + name: megane ${{ steps.vars.outputs.VERSION }} + path: "build/*/libs/**.jar" diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 7cb4163..7290895 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -27,4 +27,8 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - asset_paths: '["./build/libs/*[0-9.].jar", "./megane-*/build/libs/*[0-9.].jar"]' + asset_paths: "build/*/libs/*[0-9.].jar" + - uses : actions/upload-artifact@v2 + with : + name : megane ${{ steps.vars.outputs.VERSION }} + path : "build/*/libs/**.jar"