Refactor artifact upload step to use dynamic naming and support multiple archive formats

This commit is contained in:
2025-07-26 20:51:56 +02:00
parent d1dbccb1f9
commit e7f0626ce5

View File

@@ -95,14 +95,14 @@ jobs:
fi
echo "ASSET_NAME=${ARCHIVE_NAME}" >> $GITHUB_ENV
echo "asset_name=${ARCHIVE_NAME}" >> $GITHUB_OUTPUT
echo "asset_path=${ASSET_PATH}" >> $GITHUB_OUTPUT
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ steps.build_binary.outputs.asset_name }}
path: ${{ steps.build_binary.outputs.asset_path }}
name: llamactl-${{ github.ref_name }}-${{ matrix.goos }}-${{ matrix.goarch }}
path: |
*.tar.gz
*.zip
retention-days: 1
generate-changelog: