Фикс #171
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
# ------------------------------------------------------------------------------ | |
# <auto-generated> | |
# | |
# This code was generated. | |
# | |
# - To turn off auto-generation set: | |
# | |
# [GitHubActions (AutoGenerate = false)] | |
# | |
# - To trigger manual generation invoke: | |
# | |
# nuke --generate-configuration GitHubActions_CI2022 --host GitHubActions | |
# | |
# </auto-generated> | |
# ------------------------------------------------------------------------------ | |
name: CI2022 | |
on: | |
push: | |
branches: | |
- develop | |
- 'feature/**' | |
- 'bugfix/**' | |
jobs: | |
windows-latest: | |
name: windows-latest | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 'Cache: .nuke/temp, ~/.nuget/packages' | |
uses: actions/cache@v4 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} | |
- name: 'Run: SetVersion2022, Test, Publish' | |
run: ./build.cmd SetVersion2022 Test Publish | |
env: | |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
ALL_PACKAGES: ${{ secrets.ALL_PACKAGES }} | |
- name: 'Publish: packages' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: packages | |
path: artifacts/packages |