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 20
20
with :
21
21
dotnet-version : ${{ env.DOTNET_VERSION }}
22
22
- 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
24
24
- name : lint
25
25
working-directory : src
26
26
run : dotnet format ActionsImporter.sln --verify-no-changes
61
61
run : dotnet build src/ActionsImporter.sln
62
62
- name : Validate licenses
63
63
run : |
64
- dotnet tool install --global ThirdLicense
64
+ dotnet tool install --global ThirdLicense --version 1.2.0
65
65
thirdlicense --project src/ActionsImporter.sln --output .licenses/new-licenses.txt
66
66
diff -u .licenses/new-licenses.txt .licenses/licenses.txt
67
67
- name : dotnet publish
79
79
cp dist/linux-x64/gh-actions-importer ${{ runner.temp }}/staging/actions-importer-linux-amd64
80
80
81
81
- name : publish artifacts
82
- uses : actions/upload-artifact@v3
82
+ uses : actions/upload-artifact@v4
83
83
with :
84
- name : executables
84
+ name : actions-importer-${{ github.run_id }}
85
85
path : ${{ runner.temp }}/staging/*
86
86
87
87
publish :
@@ -106,9 +106,9 @@ jobs:
106
106
exit 1
107
107
}
108
108
- name : download artifacts
109
- uses : actions/download-artifact@v3
109
+ uses : actions/download-artifact@v4
110
110
with :
111
- name : executables
111
+ name : actions-importer-${{ github.run_id }}
112
112
path : ${{ runner.temp }}/dist
113
113
- name : create release
114
114
uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments