Add ACTIONS_RUNTIME_TOKEN to build job and fix README punctuation #13
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: Manual Trigger Workflow | |
on: | |
push: | |
branches: [main, dev] | |
workflow_dispatch: {} | |
jobs: | |
build-and-pack: | |
runs-on: windows-latest | |
env: | |
ACTIONS_RUNTIME_TOKEN: ${{ secrets.ACTIONS_RUNTIME_TOKEN }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Setup NuGet | |
uses: NuGet/setup-nuget@v2 | |
# - name: Restore NuGet Packages | |
# run: nuget restore ./source/FreeGameNotifications.sln | |
# - name: Build | |
# run: msbuild ./source/FreeGameNotifications.sln /p:Configuration=Release /p:Platform="Any CPU" | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "8.0.x" | |
- name: Install Cake.Tool | |
run: | | |
dotnet tool install --global Cake.Tool | |
dotnet tool restore | |
- name: Run Cake build | |
run: dotnet cake --target=Pack |