mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-02 13:19:14 -04:00
ci: Reformat .yml
files for readability
This commit is contained in:
parent
84c7da82cf
commit
43aa1e4aeb
13 changed files with 904 additions and 893 deletions
103
.github/workflows/windows-installer.yml
vendored
103
.github/workflows/windows-installer.yml
vendored
|
@ -8,58 +8,57 @@ jobs:
|
|||
# run on pushes to any branch
|
||||
# run on PRs from external forks
|
||||
if: |
|
||||
(github.event_name != 'pull_request')
|
||||
|| (github.event.pull_request.head.repo.id != github.event.pull_request.base.repo.id)
|
||||
|
||||
(github.event_name != 'pull_request')
|
||||
|| (github.event.pull_request.head.repo.id != github.event.pull_request.base.repo.id)
|
||||
name: Build Zip & Exe
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
path-type: inherit
|
||||
install: >-
|
||||
zip
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
cache: 'npm'
|
||||
cache-dependency-path: |
|
||||
src/package-lock.json
|
||||
src/bin/doc/package-lock.json
|
||||
|
||||
- name: Install all dependencies and symlink for ep_etherpad-lite
|
||||
shell: msys2 {0}
|
||||
run: src/bin/installDeps.sh
|
||||
|
||||
- name: Run the backend tests
|
||||
shell: msys2 {0}
|
||||
run: cd src && npm test
|
||||
|
||||
- name: Build the .zip
|
||||
shell: msys2 {0}
|
||||
run: src/bin/buildForWindows.sh
|
||||
|
||||
- name: Extract the .zip into folder
|
||||
run: 7z x etherpad-lite-win.zip -oetherpad-lite-new
|
||||
|
||||
- name: Grab nsis config
|
||||
run: git clone https://github.com/ether/etherpad_nsis.git
|
||||
|
||||
- name: Create installer
|
||||
uses: joncloud/makensis-action@v3.6
|
||||
with:
|
||||
script-file: 'etherpad_nsis/etherpad.nsi'
|
||||
|
||||
- name: Check something..
|
||||
run: ls etherpad_nsis
|
||||
|
||||
- name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: etherpad-server-windows.exe
|
||||
path: etherpad_nsis/etherpad-server-windows.exe
|
||||
-
|
||||
uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
path-type: inherit
|
||||
install: >-
|
||||
zip
|
||||
-
|
||||
name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
cache: 'npm'
|
||||
cache-dependency-path: |
|
||||
src/package-lock.json
|
||||
src/bin/doc/package-lock.json
|
||||
-
|
||||
name: Install all dependencies and symlink for ep_etherpad-lite
|
||||
shell: msys2 {0}
|
||||
run: src/bin/installDeps.sh
|
||||
-
|
||||
name: Run the backend tests
|
||||
shell: msys2 {0}
|
||||
run: cd src && npm test
|
||||
-
|
||||
name: Build the .zip
|
||||
shell: msys2 {0}
|
||||
run: src/bin/buildForWindows.sh
|
||||
-
|
||||
name: Extract the .zip into folder
|
||||
run: 7z x etherpad-lite-win.zip -oetherpad-lite-new
|
||||
-
|
||||
name: Grab nsis config
|
||||
run: git clone https://github.com/ether/etherpad_nsis.git
|
||||
-
|
||||
name: Create installer
|
||||
uses: joncloud/makensis-action@v3.6
|
||||
with:
|
||||
script-file: 'etherpad_nsis/etherpad.nsi'
|
||||
-
|
||||
name: Check something..
|
||||
run: ls etherpad_nsis
|
||||
-
|
||||
name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: etherpad-server-windows.exe
|
||||
path: etherpad_nsis/etherpad-server-windows.exe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue