Skip to content

Commit b97a2d8

Browse files
authored
Merge pull request #114 from ionite34/release-ci-artifact-reorder
2 parents 9a99c58 + 39abba2 commit b97a2d8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ jobs:
2222
run: |
2323
echo "Using tag ${{ env.GIT_TAG_NAME }}"
2424
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
3125
3226
- name: Set up .NET
3327
uses: actions/setup-dotnet@v3
@@ -40,6 +34,13 @@ jobs:
4034
- name: Build
4135
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
4236

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+
4344
- name: Upload Artifact
4445
uses: actions/upload-artifact@v2
4546
with:

0 commit comments

Comments
 (0)