Skip to content

Commit 94ff438

Browse files
committed
edit gitaction
1 parent 7091d5c commit 94ff438

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/publish-unitypackage-release-on-push-tag.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,19 @@ jobs:
5656
steps:
5757
- uses: actions/checkout@v2
5858

59+
# https://github.com/battila7/get-version-action
60+
- id: get_version
61+
uses: battila7/get-version-action@v2
62+
5963
- run: |
6064
find **/*.meta
6165
find **/*.meta > metalist
6266
6367
# https://github.com/pCYSl5EDgo/create-unitypackage
6468
- uses: pCYSl5EDgo/create-unitypackage@master
6569
with:
66-
package-path: ${{ github.repository }}.unitypackage
67-
include-files: metaList
70+
package-path: ${{ github.repository }}-${{ steps.get_version.outputs.version }}.unitypackage
71+
include-files: metalist
6872

6973
- uses: actions/upload-artifact@master
7074
with:

0 commit comments

Comments
 (0)