updated
This commit is contained in:
parent
34c9740e70
commit
3b3e675290
@ -32,3 +32,24 @@ jobs:
|
||||
with:
|
||||
name: admin_dashboard-${{ env.VERSION }}
|
||||
path: 'build'
|
||||
if-no-files-found: error
|
||||
retention-days: 5
|
||||
|
||||
publish-release:
|
||||
needs: build-and-test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: admin_dashboard-${{ env.VERSION }}
|
||||
path: build
|
||||
|
||||
- name: Create Release
|
||||
uses: actions/create-release@v1
|
||||
with:
|
||||
path: build/admin_dashboard-${{ env.VERSION }}.zip
|
||||
tag_name: v${{ env.VERSION }}
|
||||
release_name: Release v${{ env.VERSION }}
|
||||
draft: false
|
||||
prerelease: ${{ contains(env.VERSION, 'DEV') || contains(env.VERSION, 'ALPHA') || contains(env.VERSION, 'BETA') }}
|
||||
Loading…
Reference in New Issue
Block a user