diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 09c2fae..67a2934 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,20 +43,14 @@ jobs: package-path: ${{ env.UNITY_PACKAGE_PATH }} include-files: metaList - - name: Upload artifacts - uses: actions/upload-artifact@v4 - with: - name: ZIP archive - path: ${{ env.ZIP_FILE_PATH }} + - name: Copy package.json + run: cp ${{ env.PACKAGE_PATH }}/package.json package.json - - name: Upload unitypackage - uses: actions/upload-artifact@v4 - with: - name: Unitypackage - path: ${{ env.UNITY_PACKAGE_PATH }} - - - name: Upload package.json + - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: package.json - path: ${{ env.PACKAGE_PATH }}/package.json + name: Artifacts + path: | + ${{ env.UNITY_PACKAGE_PATH }} + ${{ env.ZIP_FILE_PATH }} + package.json diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1762cc5..54f5d01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,4 @@ jobs: tag_name: ${{ needs.build.outputs.version }} draft: true files: | - ${{ env.ZIP_FILE_PATH }} - ${{ env.UNITY_PACKAGE_PATH }} - ${{ env.PACKAGE_PATH }}/package.json + Artifacts/*