Lightbar parser fixed #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Candidate | |
on: | |
push: | |
# branches: [ "main" ] | |
pull_request: | |
# branches: [ "main" ] | |
jobs: | |
package: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet-version: ["7.0.x"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Set EnableWindowsTargeting | |
run: dotnet new tool-manifest | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Package | |
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/RacingDSX-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: RacingDSX-RC-${{ env.CURRENT_DATE }} | |
artifacts: ./forza/devrel/RacingDSX-RC.zip | |
tag: latest-candidate-${{ env.CURRENT_DATE }} | |
prerelease: true | |
allowUpdates: true | |
description: THIS IS A PRE-RELEASE VERSION, it may contain more functionality but it's not tested yet | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
continue-on-error: true |