File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : unitypackage
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ tags : [ v* ]
7+
8+ jobs :
9+ echo :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+
14+ - run : |
15+ echo "Assets/Plugins.meta" > Plugin.metaList
16+ find Assets/Plugins -name \*.meta >> Plugin.metaList
17+
18+ -
uses :
benjlevesque/[email protected] 19+ id : short-sha
20+ with :
21+ length : 6
22+
23+ - uses : pCYSl5EDgo/create-unitypackage@master
24+ with :
25+ package-path : VolumeButtonsPlugin-${{ steps.short-sha.outputs.sha }}.unitypackage
26+ include-files : Plugin.metaList
27+
28+ - uses : actions/upload-artifact@v2
29+ with :
30+ path : VolumeButtonsPlugin-${{ steps.short-sha.outputs.sha }}.unitypackage
31+ name : VolumeButtonsPlugin-${{ steps.short-sha.outputs.sha }}.unitypackage
32+
33+ - uses : softprops/action-gh-release@v1
34+ if : startsWith(github.ref, 'refs/tags/')
35+ with :
36+ files : VolumeButtonsPlugin-${{ steps.short-sha.outputs.sha }}.unitypackage
37+ env :
38+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments