Skip to content

Commit

Permalink
feat: adjust gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
Natalie Perret committed Nov 25, 2024
1 parent 7cd9625 commit 174e758
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/on-release-tag-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup .NET Environment
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.100
source-url: https://api.nuget.org/v3/index.json
Expand All @@ -37,7 +37,7 @@ jobs:
fileName=$(ls ${{env.nuget_folder_path}}/ | head -n 1)
echo "nuget_package_path=${{env.nuget_folder_path}}/${fileName}" >> $GITHUB_ENV
- name: Update NuGet Package to Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{env.nuget_package_path}}
Expand Down

0 comments on commit 174e758

Please sign in to comment.