mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
fix(build): run web-dist tarball step for tags only (#1730)
* fix(build): run web-dist tarball step for tags only * fix(build): create dist folder before running tar command
This commit is contained in:
parent
ea25b6bb7f
commit
c8e2fba334
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -137,7 +137,8 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create web-dist artifact
|
||||
run: tar czf dist/web-dist.tar.gz --directory=web/dist ./
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: mkdir -p dist && tar czf dist/web-dist.tar.gz --directory=web/dist ./
|
||||
|
||||
- name: Upload assets
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue