Skip to content

Commit

Permalink
Merge pull request #114 from ionite34/release-ci-artifact-reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
ionite34 authored Jun 26, 2023
2 parents 9a99c58 + 39abba2 commit b97a2d8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ jobs:
run: |
echo "Using tag ${{ env.GIT_TAG_NAME }}"
echo "RELEASE_VERSION=${{ env.GIT_TAG_NAME }}.0" >> $env:GITHUB_ENV
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '90 seconds'
skip-tags: false
- name: Set up .NET
uses: actions/setup-dotnet@v3
Expand All @@ -40,6 +34,13 @@ jobs:
- name: Build
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

- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
age: '90 seconds'
skip-tags: false

- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit b97a2d8

Please sign in to comment.