summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorLASER-Yi <[email protected]>2021-03-27 20:10:36 +0800
committerLASER-Yi <[email protected]>2021-03-27 20:10:36 +0800
commit21a728c13bf98ef14ec531738965fbc4675c4429 (patch)
tree1d1bc81d4cca6c3e514e6baf86a1d604a03ec6d1 /.github
parentcf29c1437d96e6cb8a01fa6776b4c86b0b91fb08 (diff)
downloadbazarr-21a728c13bf98ef14ec531738965fbc4675c4429.tar.gz
bazarr-21a728c13bf98ef14ec531738965fbc4675c4429.zip
Fix issues on automatic workflows and add ui to Github Release
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release_beta_to_dev.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/release_beta_to_dev.yaml b/.github/workflows/release_beta_to_dev.yaml
index 1903e4197..49bd2a89a 100644
--- a/.github/workflows/release_beta_to_dev.yaml
+++ b/.github/workflows/release_beta_to_dev.yaml
@@ -7,6 +7,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
UI_DIRECTORY: ./frontend
+ ASSET_DIRECTORY: ./__builds__
FETCH_DEPTH: 15 # Should be enough
steps:
- name: Checkout
@@ -43,5 +44,11 @@ jobs:
run: npm run build && git add .
working-directory: ${{ env.UI_DIRECTORY }}
+ - name: Save UI to Asset
+ run: |
+ mkdir -p ../.${{ env.ASSET_DIRECTORY }} &&
+ zip -r ../.${{ env.ASSET_DIRECTORY }}/ui.zip ./ -x '*.map' -b $(mktemp -d)
+ working-directory: ${{ env.UI_DIRECTORY }}/build
+
- name: Create Release
run: release-it --ci --increment prerelease --preRelease=beta