Skip to content

Commit

Permalink
chore: update action versions in pull_request workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lodicolo authored Nov 2, 2024
1 parent f6aaffc commit dcd0123
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
submodules: recursive

- name: Cache binaries
uses: actions/cache@v3
uses: actions/cache@v4.1.2
id: cache-binaries
with:
key: ${{ runner.os }}-binaries-${{ env.VERSION_PREFIX }}${{ env.VERSION_SUFFIX }}-${{ hashFiles('Intersect*/**/*.cs*') }}
Expand All @@ -47,12 +47,12 @@ jobs:
- name: Setup dotnet
if: steps.cache-binaries.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4.1.0
with:
dotnet-version: 7.0.x

- name: Cache NuGet dependencies
uses: actions/cache@v3
uses: actions/cache@v4.1.2
id: cache-nuget
if: steps.cache-binaries.outputs.cache-hit != 'true' || inputs.forceBuild == true || inputs.forceRestore == true
with:
Expand Down Expand Up @@ -85,23 +85,23 @@ jobs:
# run: ls -R ./dist

- name: Upload linux-x64 artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.3
with:
if-no-files-found: error
path: "dist/linux-x64/**/*"
name: intersect-linux-x64-${{ env.VERSION_PREFIX }}${{ env.VERSION_SUFFIX }}.${{ github.run_number }}+build.${{ github.sha }}
retention-days: 1

- name: Upload osx-x64 artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.3
with:
if-no-files-found: error
path: "dist/osx-x64/**/*"
name: intersect-osx-x64-${{ env.VERSION_PREFIX }}${{ env.VERSION_SUFFIX }}.${{ github.run_number }}+build.${{ github.sha }}
retention-days: 1

- name: Upload win-x64 artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.3
with:
if-no-files-found: error
path: "dist/win-x64/**/*"
Expand Down

0 comments on commit dcd0123

Please sign in to comment.