Merge pull request #21 from peacefighter1996/main #38
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: pre-release check | |
on: | |
push: | |
branches: [ pre-release ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
TF_BUILD: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Publish Open PackML to NuGet | |
# You may pin to the exact commit or the version. | |
# uses: brandedoutcast/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc | |
uses: alirezanet/[email protected] | |
with: | |
PROJECT_FILE_PATH: Open.PackML/Open.PackML.csproj | |
NUGET_KEY: ${{secrets.NUGET_KEY}} | |
VERSION_FILE_PATH: Open.PackML/Open.PackML.csproj | |
INCLUDE_SYMBOLS: true | |
NO_BUILD: true | |
- name: Publish Open PackML Tags to NuGet | |
# You may pin to the exact commit or the version. | |
# uses: brandedoutcast/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc | |
uses: alirezanet/[email protected] | |
with: | |
PROJECT_FILE_PATH: Open.PackML.Tags/Open.PackML.Tags.csproj | |
NUGET_KEY: ${{secrets.NUGET_KEY}} | |
VERSION_FILE_PATH: Open.PackML.Tags/Open.PackML.Tags.csproj | |
INCLUDE_SYMBOLS: true | |
NO_BUILD: true | |
- name: Publish Open PackML PRefabs to NuGet | |
# You may pin to the exact commit or the version. | |
# uses: brandedoutcast/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc | |
uses: alirezanet/[email protected] | |
with: | |
PROJECT_FILE_PATH: Open.PackML.Prefab/Open.PackML.Prefab.csproj | |
NUGET_KEY: ${{secrets.NUGET_KEY}} | |
VERSION_FILE_PATH: Open.PackML.Prefab/Open.PackML.Prefab.csproj | |
INCLUDE_SYMBOLS: true | |
NO_BUILD: true |