mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 11:21:24 +00:00
fix postbuild
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
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.info.artifact }}
|
name: binaries
|
||||||
path: artifacts/
|
path: artifacts/
|
||||||
-
|
-
|
||||||
name: Prepare binary
|
name: Prepare binary
|
||||||
|
@ -156,6 +156,20 @@ jobs:
|
||||||
image: docker.io/node:20-bookworm
|
image: docker.io/node:20-bookworm
|
||||||
needs: [build]
|
needs: [build]
|
||||||
steps:
|
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
|
name: Download digests
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
|
@ -197,19 +211,14 @@ jobs:
|
||||||
publish-forgejo:
|
publish-forgejo:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: node:20-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: arm64v8
|
name: binaries
|
||||||
path: artifacts/
|
|
||||||
- uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: arm32v7
|
|
||||||
path: artifacts/
|
|
||||||
- uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: arm64v8
|
|
||||||
path: artifacts/
|
path: artifacts/
|
||||||
|
merge-multiple: true
|
||||||
- uses: actions/forgejo-release@v1
|
- uses: actions/forgejo-release@v1
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
|
@ -219,6 +228,8 @@ jobs:
|
||||||
publish-crate:
|
publish-crate:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: node:20-bookworm
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Setup Rust
|
name: Setup Rust
|
||||||
|
|
Loading…
Reference in a new issue