mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Update Gitlab workflow
This commit is contained in:
parent
a2788a97d3
commit
6a1d42cc0e
1 changed files with 8 additions and 6 deletions
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -8,8 +8,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/386, darwin/amd64
|
# build and publish in parallel: linux/386, linux/amd64, darwin/386, darwin/amd64
|
||||||
goos: [linux, windows, darwin]
|
goos: [linux, darwin]
|
||||||
goarch: ["386", amd64]
|
goarch: ["386", amd64]
|
||||||
steps:
|
steps:
|
||||||
# get the source code
|
# get the source code
|
||||||
|
@ -23,12 +23,14 @@ jobs:
|
||||||
- name: Environment Printer
|
- name: Environment Printer
|
||||||
uses: managedkaos/print-env@v1.0
|
uses: managedkaos/print-env@v1.0
|
||||||
|
|
||||||
# execute yarn install
|
# setup node
|
||||||
- uses: borales/actions-yarn@v2.0.0
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
cmd: install
|
node-version: '10.x'
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
- name: Prepare aseets
|
# prepare assets for go rice
|
||||||
|
- name: Prepare assets
|
||||||
run: |
|
run: |
|
||||||
chmod +x ./prepare_assets.sh
|
chmod +x ./prepare_assets.sh
|
||||||
./prepare_assets.sh
|
./prepare_assets.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue