File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -246,9 +246,6 @@ jobs:
246246 needs : [maya-win, maya-linux, maya-macos-11, maya-macos-12]
247247 runs-on : ubuntu-latest
248248
249- # Only run on e.g. v0.1.0
250- if : startsWith(github.ref, 'refs/tags/v')
251-
252249 steps :
253250 - name : Checkout code
254251 uses : actions/checkout@v3
@@ -283,9 +280,21 @@ jobs:
283280 run : |
284281 mkdir -p modules/simplex/scripts
285282 cp -r ./scripts/simplexui modules/simplex/scripts
286- zip -r simplex-${{env.RELEASE_VERSION}}.zip modules/
283+ zip -r simplex.zip modules/
284+
285+ - name : Upload Artifacts
286+ if : ${{ ! startsWith(github.ref, 'refs/tags/v') }}
287+ uses : actions/upload-artifact@v3
288+ with :
289+ name : simplex-module
290+ path : simplex.zip
291+
292+ - name : Rename Zip
293+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
294+ run : mv simplex.zip simplex-${{env.RELEASE_VERSION}}.zip
287295
288296 - name : Upload distribution
297+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
289298 uses : " marvinpinto/action-automatic-releases@latest"
290299 with :
291300 repo_token : " ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments