Skip to content

Commit

Permalink
Workflow test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
lefarchi committed Oct 2, 2024
1 parent e2118f9 commit 9372b48
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,28 @@ name: Create Unity Package
on: push

jobs:
echo:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
find Assets/ -name \*.meta >> metaList
- run: mkdir a

- uses: pCYSl5EDgo/create-unitypackage@master
with:
package-path: 'a/output.unitypackage'
include-files: metaList
- uses: actions/upload-artifact@master
with:
path: a
name: package
- name: Checkout
uses: actions/checkout@v4
- name: Select files
run: |
find Assets/ -name \*.meta >> metaList
- name: Make output folder
run: mkdir out
- name: Create unitypackage
uses: pCYSl5EDgo/create-unitypackage@master
with:
package-path: 'out/output.unitypackage'
include-files: metaList
- name: Upload unitypackage artifact
uses: actions/upload-artifact@v4
with:
path: out
name: package
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
out/output.unitypackage

0 comments on commit 9372b48

Please sign in to comment.