Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
persist-credentials: false
Expand All @@ -68,14 +68,14 @@ jobs:
echo "projects=$projects" >> "$GITHUB_OUTPUT"

- name: Setup .Net
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Restore NuGet packages
id: nuget-cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v6
with:
path: ~/.nuget/packages
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj', '**/Directory.*.props') }}
Expand All @@ -91,7 +91,7 @@ jobs:
# Only a manual run on main refreshes the shared cache; pull request runs never save it.
- name: Save NuGet packages
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' && steps.nuget-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
uses: actions/cache/save@v6
with:
path: ~/.nuget/packages
key: ${{ steps.nuget-cache.outputs.cache-primary-key }}
Expand All @@ -100,7 +100,7 @@ jobs:
run: find . -type d -name bin -not -path '*/node_modules/*' -not -path './.git/*' -print0 | tar --null -czf build-output.tar.gz -T -

- name: Upload build output
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: build-output
path: build-output.tar.gz
Expand All @@ -119,19 +119,19 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
persist-credentials: false

- name: Setup .Net
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Download build output
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: build-output

Expand All @@ -152,7 +152,7 @@ jobs:

- name: Upload specification results
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: specification-results-${{ strategy.job-index }}-${{ matrix.framework }}
path: TestResults/
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/javascript-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: 23.x
registry-url: "https://registry.npmjs.org"

- uses: actions/cache@v4
- uses: actions/cache@v6
id: yarn-cache
with:
path: |
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
run: tar -czf js-dist.tar.gz Source/JavaScript/*/dist

- name: Upload JavaScript build output
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: js-dist
path: js-dist.tar.gz
Expand All @@ -114,7 +114,7 @@ jobs:

- name: Upload specification reports
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: spec-reports-unit
path: spec-reports/
Expand All @@ -136,15 +136,15 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: 23.x
registry-url: "https://registry.npmjs.org"

- uses: actions/cache@v4
- uses: actions/cache@v6
id: yarn-cache
with:
path: |
Expand All @@ -158,7 +158,7 @@ jobs:
run: yarn

- name: Download JavaScript build output
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: js-dist

Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:

- name: Upload specification reports
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: spec-reports-browser-${{ matrix.shard }}
path: spec-reports/
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
publish: ${{ steps.release.outputs.should-publish }}
reason: ${{ steps.release.outputs.reason }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Release
id: release
uses: cratis/release-action@v1
Expand All @@ -73,8 +73,8 @@ jobs:
permissions:
id-token: write # Required for NuGet trusted publishing using OIDC tokens
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
dotnet-version: ${{ env.DOTNET_VERSION }}
Expand All @@ -101,8 +101,8 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 23.x
registry-url: 'https://registry.npmjs.org'
Expand All @@ -115,7 +115,7 @@ jobs:
echo "NODE_AUTH_TOKEN=" >> "$GITHUB_ENV"
- name: Upgrade npm for trusted publishing (requires >= 11.5.1)
run: npm install -g npm@11
- uses: actions/cache@v4
- uses: actions/cache@v6
id: yarn-cache
with:
path: |
Expand Down