minor refactor

- simplify CSV reading logic
- add more comments
- rework the packaging script
- remove debug information for git tags
This commit is contained in:
Jonatan Czarniecki 2025-06-08 15:57:24 +02:00
parent e21cbd1f63
commit cbb31f2183
No known key found for this signature in database
GPG key ID: 8B5FB251A803BDD0
6 changed files with 87 additions and 31 deletions

View file

@ -7,12 +7,16 @@ on:
- src
- Cargo*
- Dockerfile
# this file
- .github/workflows/ci.yml
pull_request:
branches: [ "master" ]
paths:
- src
- Cargo*
- Dockerfile
# this file
- .github/workflows/ci.yml
permissions:
contents: read
@ -28,6 +32,7 @@ jobs:
runs-on: ubuntu-latest
env:
OUTPUT_DIR: target/output
# in case we wanted to test multiple toolchains:
strategy:
matrix:
toolchain:
@ -63,7 +68,8 @@ jobs:
targets: ${{ env.CARGO_BUILD_TARGETS }}
- name: Package the artifacts
run: ./.github/scripts/package-artifacts.sh
run: mkdir -p "$OUTPUT_DIR" && \
./.github/scripts/package-artifacts.sh
- name: Upload the artifacts
uses: actions/upload-artifact@v4