Skip to content

Update build

Update build #18

Workflow file for this run

# ------------------------------------------------------------------------------
# Build.yml
# ------------------------------------------------------------------------------
name: Build
on:
push:
pull_request:
branches-ignore:
- master
- main
workflow_dispatch:
jobs:
Build:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: NuGet Setup
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: "NuGet Add Source Organization"
run: if ("${{ secrets.ORGANIZATION_SOURCE_PACKAGE_PASSWORD }}" -ne "") { dotnet nuget add source --username ${{ secrets.ORGANIZATION_SOURCE_PACKAGE_USERNAME }} --password ${{ secrets.ORGANIZATION_SOURCE_PACKAGE_PASSWORD }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{github.repository_owner}}/index.json" }
- name: Run './build/build.cmd'
run: ./build/build.cmd --root ./build
env:
GitHubToken: ${{ secrets.GITHUB_TOKEN }}
SignFile: ${{ secrets.SIGN_FILE }}
SignPassword: ${{ secrets.SIGN_PASSWORD }}
NugetApiUrl: ${{ secrets.NUGET_API_URL }}
NugetApiKey: ${{ secrets.NUGET_API_KEY }}
FORGE_CLIENT_ID: ${{ secrets.FORGE_CLIENT_ID }}
FORGE_CLIENT_SECRET: ${{ secrets.FORGE_CLIENT_SECRET }}