From 14cd2d38df961d96ebd4f11f80837f76484f5db4 Mon Sep 17 00:00:00 2001 From: BrownKnight Date: Thu, 9 May 2024 21:13:38 +0100 Subject: [PATCH] Use a different release artifact step to support file name changing --- .github/workflows/package.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 4fdd6f6..95bf6be 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -32,9 +32,9 @@ jobs: - name: Create MacOS arm64 Package run: dotnet publish -r osx-arm64 --self-contained true -p:PublishSingleFile=true OpenF1.Console/OpenF1.Console.csproj -o osx-arm64-output - name: Upload MacOS arm64 to Release - uses: xresloader/upload-to-github-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: svenstaro/upload-release-action@v2 with: - file: "osx-arm64-output/openf1-console" - tags: true + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: osx-arm64-output/openf1-console + asset_name: openf1-console-macos-arm64 + tag: ${{ github.ref }}