Skip to content

Commit

Permalink
Collect artifacts as single
Browse files Browse the repository at this point in the history
  • Loading branch information
paralleltree committed Sep 23, 2024
1 parent bc1c789 commit 718f8e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

0 comments on commit 718f8e6

Please sign in to comment.