Skip to content

test ci cd

test ci cd #18

Workflow file for this run

# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [GitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_continuous --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: continuous
on:
push:
branches:
- development
pull_request:
branches:
- development
jobs:
windows-latest:
name: windows-latest
runs-on: windows-latest
steps:

Check failure on line 31 in .github/workflows/continuous.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/continuous.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.100
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
- name: 'Restore'
run: dotnet restore
-name: 'Build'
run: dotnet build --no-restore
- name: 'Publish'
run: dotnet publish ~\Minecraft-Holy-Client\Minecraft-Holy-Client\src\Platforms\HolyClient.Desktop\HolyClient.Desktop.csproj --no-restore --no-build /property:DebugType=None /property:DebugSymbols=False /property:PublishProfile=FolderProfile /property:PublishDir=~\Minecraft-Holy-Client\Minecraft-Holy-Client\.artifacts
- name: 'Publish: .artifacts'
uses: actions/upload-artifact@v3
with:
name: .artifacts
path: .artifacts
#dotnet.exe publish ~\Minecraft-Holy-Client\Minecraft-Holy-Client\src\Platforms\HolyClient.Desktop\HolyClient.Desktop.csproj --no-restore --no-build /property:DebugType=None /property:DebugSymbols=False /property:PublishProfile=FolderProfile /property:PublishDir=~\Minecraft-Holy-Client\Minecraft-Holy-Client\.artifacts