mirror of https://github.com/Xhofe/alist
💚 change back to ubuntu
parent
8255ef4346
commit
91f64161b2
|
@ -10,7 +10,7 @@ jobs:
|
|||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [macos-latest]
|
||||
platform: [ubuntu-latest]
|
||||
go-version: [1.17]
|
||||
name: Build
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
@ -25,8 +25,8 @@ jobs:
|
|||
with:
|
||||
node-version: '16'
|
||||
|
||||
- name: Setup docker
|
||||
uses: docker-practice/actions-setup-docker@master
|
||||
# - name: Setup docker
|
||||
# uses: docker-practice/actions-setup-docker@master
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
@ -45,7 +45,7 @@ jobs:
|
|||
run: |
|
||||
docker pull techknowlogick/xgo:latest
|
||||
go install src.techknowlogick.com/xgo@latest
|
||||
brew install upx
|
||||
sudo apt install upx
|
||||
|
||||
- name: Build web
|
||||
run: |
|
||||
|
|
|
@ -9,7 +9,7 @@ jobs:
|
|||
release:
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [macos-latest]
|
||||
platform: [ubuntu-latest]
|
||||
go-version: [1.17]
|
||||
name: Release
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
@ -19,8 +19,8 @@ jobs:
|
|||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Setup docker
|
||||
uses: docker-practice/actions-setup-docker@master
|
||||
# - name: Setup docker
|
||||
# uses: docker-practice/actions-setup-docker@master
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2
|
||||
|
@ -44,7 +44,7 @@ jobs:
|
|||
run: |
|
||||
docker pull techknowlogick/xgo:latest
|
||||
go install src.techknowlogick.com/xgo@latest
|
||||
brew install upx
|
||||
sudo apt install upx
|
||||
|
||||
- name: Build web
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue