mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 13:42:02 +08:00
parent
2d9b10beb9
commit
a2585463ad
18
.github/workflows/release_binary.yaml
vendored
18
.github/workflows/release_binary.yaml
vendored
@ -17,23 +17,17 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Go
|
- name: Set up Docker Buildx
|
||||||
uses: actions/setup-go@v3
|
uses: docker/setup-buildx-action@v2
|
||||||
with:
|
|
||||||
go-version: '1.20'
|
|
||||||
|
|
||||||
- name: Setup necessary packages
|
|
||||||
run: |
|
|
||||||
sudo apt install libvips-dev -y
|
|
||||||
|
|
||||||
- name: Make WebP Server Go
|
- name: Make WebP Server Go
|
||||||
run: |
|
run: |
|
||||||
make
|
docker run --rm -w /app -v "$(pwd)":/app webpsh/libvips make
|
||||||
|
sudo chown -R $USER:$USER builds/
|
||||||
sha256sum builds/webp-server-linux-amd64 > builds/webp-server-linux-amd64.sha256
|
sha256sum builds/webp-server-linux-amd64 > builds/webp-server-linux-amd64.sha256
|
||||||
|
|
||||||
- name: Check for ldd version
|
- name: Check for ldd version
|
||||||
run: |
|
run: |
|
||||||
ldd --version
|
|
||||||
ldd builds/webp-server-linux-amd64
|
ldd builds/webp-server-linux-amd64
|
||||||
|
|
||||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
@ -43,4 +37,4 @@ jobs:
|
|||||||
title: "WebP Server Go"
|
title: "WebP Server Go"
|
||||||
files: |
|
files: |
|
||||||
builds/webp-server-linux-amd64
|
builds/webp-server-linux-amd64
|
||||||
builds/webp-server-linux-amd64.sha256
|
builds/webp-server-linux-amd64.sha256
|
||||||
|
Loading…
x
Reference in New Issue
Block a user