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 23
23
with :
24
24
dotnet-version : ${{ env.DOTNET_VERSION }}
25
25
- 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
27
27
- name : lint
28
28
working-directory : src
29
29
run : dotnet format ActionsImporter.sln --verify-no-changes
64
64
run : dotnet build src/ActionsImporter.sln
65
65
- name : Validate licenses
66
66
run : |
67
- dotnet tool install --global ThirdLicense
67
+ dotnet tool install --global ThirdLicense --version 1.2.0
68
68
thirdlicense --project src/ActionsImporter.sln --output .licenses/new-licenses.txt
69
69
diff -u .licenses/new-licenses.txt .licenses/licenses.txt
70
70
- name : dotnet publish
82
82
cp dist/linux-x64/gh-actions-importer ${{ runner.temp }}/staging/actions-importer-linux-amd64
83
83
84
84
- name : publish artifacts
85
- uses : actions/upload-artifact@v3
85
+ uses : actions/upload-artifact@v4
86
86
with :
87
- name : executables
87
+ name : actions-importer-${{ github.run_id }}
88
88
path : ${{ runner.temp }}/staging/*
89
89
90
90
publish :
@@ -111,9 +111,9 @@ jobs:
111
111
exit 1
112
112
}
113
113
- name : download artifacts
114
- uses : actions/download-artifact@v3
114
+ uses : actions/download-artifact@v4
115
115
with :
116
- name : executables
116
+ name : actions-importer-${{ github.run_id }}
117
117
path : ${{ runner.temp }}/dist
118
118
- name : create release
119
119
uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments