Fixed windows pipeline

This commit is contained in:
SamTV12345 2024-08-08 21:44:25 +02:00
parent e17aa9af96
commit 9f2a48e944

View file

@ -60,10 +60,11 @@ jobs:
-
name: Run the backend tests
shell: msys2 {0}
run: cd src && pnpm test
working-directory: src
run: pnpm test
-
name: Run Etherpad
working-directory: etherpad/src
working-directory: src
run: |
pnpm i
pnpm exec playwright install --with-deps
@ -72,14 +73,12 @@ jobs:
pnpm exec playwright install chromium --with-deps
pnpm run test-ui --project=chromium
# On release, create release
-
name: Rename to etherpad-lite-win.zip
shell: powershell
run: mv etherpad-win.zip etherpad-lite-win.zip
- name: Generate Changelog
if: ${{startsWith(github.ref, 'refs/tags/v') }}
working-directory: bin
run: pnpm run generateChangelog ${{ github.ref }} > ${{ github.workspace }}-CHANGELOG.txt
- name: Output changelog
run: cat ${{ github.workspace }}-CHANGELOG.txt
- name: Release
uses: softprops/action-gh-release@v2
if: ${{startsWith(github.ref, 'refs/tags/v') }}