Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayyhem authored Feb 1, 2024
1 parent dfa9d7a commit 3f84511
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
runs-on: windows-latest

env:
Solution_Name: SharpSCCM.sln
Solution_Name: SharpSCCM.sln
Arfifact_Name: SharpSCCM.exe

steps:
- name: Checkout
Expand All @@ -28,11 +29,8 @@ jobs:
- name: Setup MSBuild.exe
uses: microsoft/[email protected]

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: Build solution
run: msbuild $env:Solution_Name -t:rebuild -property:Configuration=${{ matrix.configuration }}

# Release
- name: Update release
Expand All @@ -43,6 +41,9 @@ jobs:
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
body: |
This is the rolling release of SharpSCCM compiled from source (${{ github.sha }}).
This is the rolling release of ${{ env.Solution_Name }} compiled from source (${{ github.sha }}).
The repository updates releases automatically to keep them up-to-date with the `${{ github.ref_name }}` ${{ github.ref_type }}.
Releases were last built on ${{ env.BUILD_DATE }}.
files: |
$env:Artifact_Name
RELEASE_NOTES.md

0 comments on commit 3f84511

Please sign in to comment.