Test
Some checks failed
Build binary file and bundle packages / test (pull_request) Successful in 11s
Run Tests on Code / run-tests (push) Successful in 13s
Build binary file and bundle packages / build (pull_request) Failing after 25s
Build binary file and bundle packages / test-env (pull_request) Has been skipped

This commit is contained in:
Neshura 2024-08-07 20:30:27 +02:00
parent a94eae2fc5
commit 0caba1a9d6
Signed by: Neshura
GPG key ID: 4E2D47B1374C297D

View file

@ -37,9 +37,9 @@ jobs:
runs-on: docker
container: forgejo.neshweb.net/ci-docker-images/rust-node:latest
outputs:
DEBIAN_NAME: ${{ steps.deb_bundle.outputs.debian_name }}
DEBIAN_REV: ${{ steps.deb_bundle.outputs.debian_rev }}
DEBIAN_REF: ${{ steps.deb_bundle.outputs.debian_ref }}
DEBIAN_NAME: ${{ steps.deb.outputs.debian_name }}
DEBIAN_REV: ${{ steps.deb.outputs.debian_rev }}
DEBIAN_REF: ${{ steps.deb.outputs.debian_ref }}
steps:
- name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
@ -52,8 +52,8 @@ jobs:
cargo build -r
mv target/release/${{ github.event.repository.name }} dist/${{ github.event.repository.name }}-linux-amd64
- name: Bundle .deb package
id: deb_bundle
- name: Collect Debian Metadata
id: deb
run: |
DEBIAN_REF=$(echo ${{ github.ref_name }} | tr - \~)
echo "debian_ref=$DEBIAN_REF" >> ${{ env.GITHUB_OUTPUT }}
@ -64,7 +64,9 @@ jobs:
DEBIAN_NAME=$(cat Cargo.toml | grep -E "(^|\|)name =" | cut -f2- -d= | tr -d \" | tr -d " ")
echo "debian_name=$DEBIAN_NAME" >> ${{ env.GITHUB_OUTPUT }}
echo DEBIAN_NAME: $DEBIAN_NAME
mv target/debian/${{ DEBIAN_NAME }}_${{ DEBIAN_REF }}-${{ DEBIAN_REV }}_amd64.deb dist/${{ DEBIAN_NAME }}_${{ DEBIAN_REF }}-${{ DEBIAN_REV }}_amd64.deb
- name: Bundle .deb package
run: mv target/debian/${{ DEBIAN_NAME }}_${{ DEBIAN_REF }}-${{ DEBIAN_REV }}_amd64.deb dist/${{ DEBIAN_NAME }}_${{ DEBIAN_REF }}-${{ DEBIAN_REV }}_amd64.deb
- name: Uploading Build Artifact
uses: actions/upload-artifact@v3