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

@ -12,6 +12,13 @@ runs:
- name: Install Zig
shell: bash
# the `--transform` options are used to install Zig in the /usr/local/:
# */zig -> /usr/local/bin/zig
# */lib/ -> /usr/local/lib/zig/
# the rest is not really necessary, but for consistency:
# */doc/ -> /usr/local/share/doc/zig/
# */LICENSE -> /usr/local/share/doc/zig/copyright
# */README.md -> /usr/local/share/doc/zig/README.md
run: |
ZIG_VERSION="${{ inputs.zig-version }}"
[ "$RUNNER_ARCH" == "X64" ] && ZIG_ARCH="x86_64" || ZIG_ARCH="aarch64"