mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-10 07:05:14 +00:00
Upload latest develop.tar.gz to github pages for fetch script access (#23183)
This commit is contained in:
parent
e30eb4de12
commit
92f6402b2a
1 changed files with 15 additions and 8 deletions
21
.github/workflows/build_develop.yml
vendored
21
.github/workflows/build_develop.yml
vendored
|
@ -35,7 +35,20 @@ jobs:
|
||||||
SENTRY_ORG: element
|
SENTRY_ORG: element
|
||||||
SENTRY_PROJECT: riot-web
|
SENTRY_PROJECT: riot-web
|
||||||
|
|
||||||
- run: mv dist/element-*.tar.gz webapp.tar.gz
|
- run: mv dist/element-*.tar.gz dist/develop.tar.gz
|
||||||
|
|
||||||
|
# We keep the latest develop.tar.gz as the artifact uploaded later expires after 24 and requires auth to download
|
||||||
|
# Element Desktop's fetch script uses this tarball to fetch latest develop to build Nightlies.
|
||||||
|
- name: Deploy develop.tar.gz to Github Pages
|
||||||
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
|
with:
|
||||||
|
folder: dist
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: webapp
|
||||||
|
path: dist/develop.tar.gz
|
||||||
|
retention-days: 1
|
||||||
|
|
||||||
- name: Wait for other steps to succeed
|
- name: Wait for other steps to succeed
|
||||||
uses: lewagon/wait-on-check-action@v1.0.0
|
uses: lewagon/wait-on-check-action@v1.0.0
|
||||||
|
@ -45,9 +58,3 @@ jobs:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
wait-interval: 10
|
wait-interval: 10
|
||||||
check-regexp: ^((?!SonarQube|issues|board).)*$
|
check-regexp: ^((?!SonarQube|issues|board).)*$
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: webapp
|
|
||||||
path: webapp.tar.gz
|
|
||||||
retention-days: 1
|
|
||||||
|
|
Loading…
Reference in a new issue