From 30b4a7d2d3ee5d0e627c20274898a0ad6b504936 Mon Sep 17 00:00:00 2001 From: Muhammad Azeez Date: Thu, 29 May 2025 22:09:52 +0300 Subject: [PATCH] fix: use gh release download instead of downloading from github action artifacts in dotnet workflow (#857) It seems like at some point we changed the `release.yml` workflow to create multiple artifacts instead of one `release-artifacts` tarball. I changed the .NET Nuget workflow to be more like Python --- .github/workflows/release-dotnet-native.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-dotnet-native.yaml b/.github/workflows/release-dotnet-native.yaml index dd5664e..140999e 100644 --- a/.github/workflows/release-dotnet-native.yaml +++ b/.github/workflows/release-dotnet-native.yaml @@ -20,10 +20,13 @@ jobs: uses: actions/setup-dotnet@v3.0.3 with: dotnet-version: 7.x - - uses: dawidd6/action-download-artifact@v6 - with: - workflow: release.yml - name: release-artifacts + - name: download release + run: | + tag='${{ github.ref }}' + tag="${tag/refs\/tags\//}" + gh release download "$tag" -p 'libextism-*.tar.gz' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Extract Archive run: | extract_archive() {