Skip to content

Commit 6f6c943

Browse files
Merge pull request #335 from github/begonaguereca-patch-2
Fix CI Failures by Pinning .NET Tool Versions
2 parents f4ebc76 + 7cea5fa commit 6f6c943

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
dotnet-version: ${{ env.DOTNET_VERSION }}
2222
- name: install dotnet-format
23-
run: dotnet tool install -g dotnet-format --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
23+
run: dotnet tool install -g dotnet-format --version 5.1.225507
2424
- name: lint
2525
working-directory: src
2626
run: dotnet format ActionsImporter.sln --verify-no-changes
@@ -61,7 +61,7 @@ jobs:
6161
run: dotnet build src/ActionsImporter.sln
6262
- name: Validate licenses
6363
run: |
64-
dotnet tool install --global ThirdLicense
64+
dotnet tool install --global ThirdLicense --version 1.2.0
6565
thirdlicense --project src/ActionsImporter.sln --output .licenses/new-licenses.txt
6666
diff -u .licenses/new-licenses.txt .licenses/licenses.txt
6767
- name: dotnet publish
@@ -79,9 +79,9 @@ jobs:
7979
cp dist/linux-x64/gh-actions-importer ${{ runner.temp }}/staging/actions-importer-linux-amd64
8080
8181
- name: publish artifacts
82-
uses: actions/upload-artifact@v3
82+
uses: actions/upload-artifact@v4
8383
with:
84-
name: executables
84+
name: actions-importer-${{ github.run_id }}
8585
path: ${{ runner.temp }}/staging/*
8686

8787
publish:
@@ -106,9 +106,9 @@ jobs:
106106
exit 1
107107
}
108108
- name: download artifacts
109-
uses: actions/download-artifact@v3
109+
uses: actions/download-artifact@v4
110110
with:
111-
name: executables
111+
name: actions-importer-${{ github.run_id }}
112112
path: ${{ runner.temp }}/dist
113113
- name: create release
114114
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)