Skip to content

Commit

Permalink
chore: update pipeline actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kl1mm committed Sep 17, 2024
1 parent 4be1fa2 commit a4bfaa5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,21 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v4.1.7
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4.0.1
with:
dotnet-version: '7.0.x'
include-prerelease: true
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Release
- name: Test
run: dotnet test --no-build -c Release --verbosity normal
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
name: kli.Localize.v${{ env.GitBuildVersionSimple }}.nupkg
path: src/kli.Localize.Generator/bin/Release/*.nupkg
Expand All @@ -41,7 +40,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4.1.8
with:
name: kli.Localize.${{ needs.build.outputs.tag }}.nupkg
path: artifacts
Expand Down

0 comments on commit a4bfaa5

Please sign in to comment.