-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweak(ci): update actions and build solution while running build script
- Loading branch information
1 parent
0f0055b
commit b658423
Showing
3 changed files
with
50 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,34 +13,32 @@ jobs: | |
SolutionPath: saltychat\SaltyChat-RedM.sln | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup NuGet.exe | ||
uses: NuGet/setup-nuget@v1.0.5 | ||
uses: NuGet/setup-nuget@v2 | ||
|
||
- name: Restore NuGet packages | ||
run: nuget restore $env:SolutionPath | ||
|
||
- name: Setup MSBuild.exe | ||
uses: microsoft/[email protected] | ||
|
||
- name: Build solution | ||
run: msbuild $env:SolutionPath /property:Configuration=Release | ||
uses: microsoft/setup-msbuild@v2 | ||
|
||
- name: Prepare release | ||
run: .\Build-Release.ps1 | ||
shell: powershell | ||
|
||
- name: Bump version and push tag | ||
id: tag_version | ||
uses: mathieudutour/github-tag-action@v5.6 | ||
uses: mathieudutour/github-tag-action@v6.2 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create release | ||
uses: ncipollo/release-action@v1 | ||
uses: ncipollo/release-action@v1.14.0 | ||
with: | ||
tag: ${{ steps.tag_version.outputs.new_tag }} | ||
name: Release ${{ steps.tag_version.outputs.new_tag }} | ||
body: ${{ steps.tag_version.outputs.changelog }} | ||
artifacts: "release/*.zip" | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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
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