Skip to content

Commit

Permalink
made RC publisher make new releases instead of editing the same one
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmii02 committed Feb 24, 2024
1 parent 529e2f2 commit c6fb37e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/dotnetlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,25 @@ jobs:
- name: Set EnableWindowsTargeting
run: dotnet new tool-manifest


- name: Restore dependencies
run: dotnet restore

- name: Package
run: dotnet dotnet publish -r win-x64 -p:PublishSingleFile=true --self-contained true -c Release --output ./forza/devrel
run: dotnet publish -r win-x64 -p:PublishSingleFile=true --self-contained true -c Release --output ./forza/devrel

- name: Compress Artifact
run: zip -r ./forza/devrel/ForzaDSX-RC.zip ./forza/devrel

- name: Generate Date
id: get-date
run: echo "CURRENT_DATE=$(date +'%m/%d')" >> $GITHUB_ENV

- name: Upload Release
uses: ncipollo/release-action@v1
with:
name: ForzaDSX-RC
name: ForzaDSX-RC-${{ env.CURRENT_DATE }}
artifacts: ./forza/devrel/ForzaDSX-RC.zip
tag: latest-candidate
tag: latest-candidate-${{ env.CURRENT_DATE }}
prerelease: true
allowUpdates: true
env:
Expand Down

0 comments on commit c6fb37e

Please sign in to comment.