Update release.yml

This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-02-12 09:39:39 -05:00
1 parent f1f1e550bc
commit 66cf61059b
1 file changed
+7 -1
+7 -1
View File
@@ -23,12 +23,18 @@ jobs:
- name: Build Playlet
run: npm run build:release:ci
- name: Create unstable release if needed
run: gh release view unstable || gh release create unstable --prerelease
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Update unstable release
run: gh release edit unstable --notes "This is an automated release." --prerelease --title unstable
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Replace release assets
run: gh release upload unstable ./release/playlet.zip ./playlet/src/lib/playlet-lib.zip --clobber
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}