File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 22
22
run : |
23
23
echo "Using tag ${{ env.GIT_TAG_NAME }}"
24
24
echo "RELEASE_VERSION=${{ env.GIT_TAG_NAME }}.0" >> $env:GITHUB_ENV
25
-
26
- - name : Remove old artifacts
27
- uses : c-hive/gha-remove-artifacts@v1
28
- with :
29
- age : ' 90 seconds'
30
- skip-tags : false
31
25
32
26
- name : Set up .NET
33
27
uses : actions/setup-dotnet@v3
40
34
- name : Build
41
35
run : dotnet publish ./StabilityMatrix/StabilityMatrix.csproj -o out -c Release -r win-x64 -p:Version=$env:RELEASE_VERSION -p:FileVersion=$env:RELEASE_VERSION -p:AssemblyVersion=$env:RELEASE_VERSION -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true
42
36
37
+ - name : Remove old artifacts
38
+ uses : c-hive/gha-remove-artifacts@v1
39
+ with :
40
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
+ age : ' 90 seconds'
42
+ skip-tags : false
43
+
43
44
- name : Upload Artifact
44
45
uses : actions/upload-artifact@v2
45
46
with :
You can’t perform that action at this time.
0 commit comments