mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Simplified release process
This commit is contained in:
parent
3690c55359
commit
406a30bd87
1 changed files with 13 additions and 13 deletions
26
.github/workflows/windows.yml
vendored
26
.github/workflows/windows.yml
vendored
|
@ -62,15 +62,15 @@ jobs:
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: cd src && pnpm test
|
run: cd src && pnpm test
|
||||||
-
|
-
|
||||||
name: Build the .zip
|
name: Run Etherpad
|
||||||
shell: msys2 {0}
|
working-directory: etherpad/src
|
||||||
run: bin/buildForWindows.sh
|
run: |
|
||||||
-
|
pnpm i
|
||||||
name: Archive production artifacts
|
pnpm exec playwright install --with-deps
|
||||||
uses: actions/upload-artifact@v4
|
pnpm run prod &
|
||||||
with:
|
curl --connect-timeout 10 --max-time 20 --retry 5 --retry-delay 10 --retry-max-time 60 --retry-connrefused http://127.0.0.1:9001/p/test
|
||||||
name: etherpad-win.zip
|
pnpm exec playwright install chromium --with-deps
|
||||||
path: etherpad-win.zip
|
pnpm run test-ui --project=chromium
|
||||||
|
|
||||||
build-exe:
|
build-exe:
|
||||||
if: |
|
if: |
|
||||||
|
@ -151,7 +151,7 @@ jobs:
|
||||||
run: .\bin\installOnWindows.bat
|
run: .\bin\installOnWindows.bat
|
||||||
working-directory: etherpad
|
working-directory: etherpad
|
||||||
-
|
-
|
||||||
name: Run Etherpad
|
name: Run Frontend Tests
|
||||||
working-directory: etherpad/src
|
working-directory: etherpad/src
|
||||||
run: |
|
run: |
|
||||||
pnpm i
|
pnpm i
|
||||||
|
@ -165,8 +165,8 @@ jobs:
|
||||||
name: Rename to etherpad-lite-win.zip
|
name: Rename to etherpad-lite-win.zip
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: mv etherpad-win.zip etherpad-lite-win.zip
|
run: mv etherpad-win.zip etherpad-lite-win.zip
|
||||||
- name: upload binaries to release
|
- name: Release next version
|
||||||
uses: softprops/action-gh-release@v2
|
uses: marvinpinto/action-automatic-releases@latest
|
||||||
if: ${{startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{startsWith(github.ref, 'refs/tags/v') }}
|
||||||
with:
|
with:
|
||||||
files: etherpad-lite-win.zip
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
Loading…
Reference in a new issue