fix postbuild
Some checks failed
/ tests (push) Has been cancelled
/ check (aarch64-unknown-linux-musl) (push) Has been cancelled
/ check (armv7-unknown-linux-musleabihf) (push) Has been cancelled
/ check (x86_64-unknown-linux-musl) (push) Has been cancelled
/ clippy (push) Has been cancelled
/ build (map[artifact:linux-arm64v8 platform:linux/arm64 target:aarch64-unknown-linux-musl]) (push) Successful in 4m10s
/ build (map[artifact:linux-amd64 platform:linux/amd64 target:x86_64-unknown-linux-musl]) (push) Successful in 6m13s
/ build (map[artifact:linux-arm32v7 platform:linux/arm/v7 target:armv7-unknown-linux-musleabihf]) (push) Successful in 5m59s
/ publish-crate (push) Failing after 36s
/ publish-docker (push) Failing after 3s
/ publish-forgejo (push) Failing after 10s
Some checks failed
/ tests (push) Has been cancelled
/ check (aarch64-unknown-linux-musl) (push) Has been cancelled
/ check (armv7-unknown-linux-musleabihf) (push) Has been cancelled
/ check (x86_64-unknown-linux-musl) (push) Has been cancelled
/ clippy (push) Has been cancelled
/ build (map[artifact:linux-arm64v8 platform:linux/arm64 target:aarch64-unknown-linux-musl]) (push) Successful in 4m10s
/ build (map[artifact:linux-amd64 platform:linux/amd64 target:x86_64-unknown-linux-musl]) (push) Successful in 6m13s
/ build (map[artifact:linux-arm32v7 platform:linux/arm/v7 target:armv7-unknown-linux-musleabihf]) (push) Successful in 5m59s
/ publish-crate (push) Failing after 36s
/ publish-docker (push) Failing after 3s
/ publish-forgejo (push) Failing after 10s
This commit is contained in:
parent
17d5adc3a8
commit
6fad68d888
1 changed files with 21 additions and 10 deletions
|
@ -118,7 +118,7 @@ jobs:
|
|||
-
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ matrix.info.artifact }}
|
||||
name: binaries
|
||||
path: artifacts/
|
||||
-
|
||||
name: Prepare binary
|
||||
|
@ -156,6 +156,20 @@ jobs:
|
|||
image: docker.io/node:20-bookworm
|
||||
needs: [build]
|
||||
steps:
|
||||
-
|
||||
name: Install Docker
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y ca-certificates curl
|
||||
install -m 0755 -d /etc/apt/keyrings
|
||||
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||
chmod a+r /etc/apt/keyrings/docker.asc
|
||||
echo \
|
||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
|
||||
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
|
||||
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
apt-get update
|
||||
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
-
|
||||
name: Download digests
|
||||
uses: actions/download-artifact@v3
|
||||
|
@ -197,19 +211,14 @@ jobs:
|
|||
publish-forgejo:
|
||||
needs: [build]
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:20-bookworm
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: arm64v8
|
||||
path: artifacts/
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: arm32v7
|
||||
path: artifacts/
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: arm64v8
|
||||
name: binaries
|
||||
path: artifacts/
|
||||
merge-multiple: true
|
||||
- uses: actions/forgejo-release@v1
|
||||
with:
|
||||
direction: upload
|
||||
|
@ -219,6 +228,8 @@ jobs:
|
|||
publish-crate:
|
||||
needs: [build]
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:20-bookworm
|
||||
steps:
|
||||
-
|
||||
name: Setup Rust
|
||||
|
|
Loading…
Reference in a new issue