updated
Some checks failed
Testing Example / build-and-test (push) Successful in 1m28s
Testing Example / publish-release (push) Failing after 16s

This commit is contained in:
SnippetsX 2024-11-12 22:06:07 +03:00
parent 34c9740e70
commit 3b3e675290

View File

@ -32,3 +32,24 @@ jobs:
with: with:
name: admin_dashboard-${{ env.VERSION }} name: admin_dashboard-${{ env.VERSION }}
path: 'build' 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') }}