File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2323 with :
2424 dotnet-version : ${{ env.DOTNET_VERSION }}
2525 - name : install dotnet-format
26- run : dotnet tool install -g dotnet-format --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
26+ run : dotnet tool install -g dotnet-format --version 5.1.225507
2727 - name : lint
2828 working-directory : src
2929 run : dotnet format ActionsImporter.sln --verify-no-changes
6464 run : dotnet build src/ActionsImporter.sln
6565 - name : Validate licenses
6666 run : |
67- dotnet tool install --global ThirdLicense
67+ dotnet tool install --global ThirdLicense --version 1.2.0
6868 thirdlicense --project src/ActionsImporter.sln --output .licenses/new-licenses.txt
6969 diff -u .licenses/new-licenses.txt .licenses/licenses.txt
7070 - name : dotnet publish
8282 cp dist/linux-x64/gh-actions-importer ${{ runner.temp }}/staging/actions-importer-linux-amd64
8383
8484 - name : publish artifacts
85- uses : actions/upload-artifact@v3
85+ uses : actions/upload-artifact@v4
8686 with :
87- name : executables
87+ name : actions-importer-${{ github.run_id }}
8888 path : ${{ runner.temp }}/staging/*
8989
9090 publish :
@@ -111,9 +111,9 @@ jobs:
111111 exit 1
112112 }
113113 - name : download artifacts
114- uses : actions/download-artifact@v3
114+ uses : actions/download-artifact@v4
115115 with :
116- name : executables
116+ name : actions-importer-${{ github.run_id }}
117117 path : ${{ runner.temp }}/dist
118118 - name : create release
119119 uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments