diff --git a/.gitea/workflows/build-kernel.yml b/.gitea/workflows/build-kernel.yml index 9d9610a..1b4d5bc 100644 --- a/.gitea/workflows/build-kernel.yml +++ b/.gitea/workflows/build-kernel.yml @@ -69,13 +69,15 @@ jobs: echo "kernel version $ver -> file modules/iec_listener_${safe}.ko" mkdir -p out/modules mv iec_listener.ko "out/modules/iec_listener_${safe}.ko" + # Expose the path-friendly name for the (colon-rejecting) artifact name. + echo "SAFE_VER=$safe" >> "$GITHUB_ENV" - name: Upload build output uses: https://github.com/christopherHX/gitea-upload-artifact@v4 with: # Name by the path-friendly version so artifact names stay unique; all # of them merge back into the single modules/ folder at download time. - name: ${{ matrix.kernel_version }} + name: ${{ env.SAFE_VER }} path: kernel/out if-no-files-found: error