try fixing manifest exclusions from release no.3 #25
Workflow file for this run
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: draft-release | |
on: | |
push: | |
tags: '*' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
release: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Rust stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: x86_64-pc-windows-msvc | |
override: true | |
- name: Build with Cargo | |
run: cargo build --release --target=x86_64-pc-windows-msvc | |
working-directory: ./settings-parser | |
- name: Zip parser | |
uses: thedoctor0/zip-release@main | |
with: | |
type: 'zip' | |
filename: "TW3_MSF_Parser.zip" | |
path: "./settings-parser/target/x86_64-pc-windows-msvc/release/settings_parser.exe" | |
- name: Zip modSettingsFramework | |
uses: thedoctor0/zip-release@main | |
with: | |
type: 'zip' | |
filename: "TW3_MSF_modSettingsFramework.zip" | |
path: "./modSettingsFramework" | |
recursive_exclusions: "*/witcherscript.toml" | |
- name: Zip v1.32 hooks | |
uses: thedoctor0/zip-release@main | |
with: | |
type: 'zip' | |
filename: "TW3_MSF_Hooks_1.32.zip" | |
path: "./hooks/v1.32/modSettingsFrameworkHooks" | |
recursive_exclusions: "*/witcherscript.toml" | |
- name: Zip v4.00 hooks | |
uses: thedoctor0/zip-release@main | |
with: | |
type: 'zip' | |
filename: "TW3_MSF_Hooks_4.00.zip" | |
path: "./hooks/v4.00/modSettingsFrameworkHooks" | |
recursive_exclusions: "*/witcherscript.toml" | |
- name: Zip v4.03 hooks | |
uses: thedoctor0/zip-release@main | |
with: | |
type: 'zip' | |
filename: "TW3_MSF_Hooks_4.03.zip" | |
path: "./hooks/v4.03/modSettingsFrameworkHooks" | |
recursive_exclusions: "*/witcherscript.toml" | |
- name: Zip v4.04 hooks | |
uses: thedoctor0/zip-release@main | |
with: | |
type: 'zip' | |
filename: "TW3_MSF_Hooks_4.04.zip" | |
path: "./hooks/v4.04/modSettingsFrameworkHooks" | |
recursive_exclusions: "*/witcherscript.toml" | |
- name: Zip v4.04a_REDkit hooks | |
uses: thedoctor0/zip-release@main | |
with: | |
type: 'zip' | |
filename: "TW3_MSF_Hooks_4.04a_REDkit.zip" | |
path: "./hooks/v4.04a_REDkit/modSettingsFrameworkHooks" | |
recursive_exclusions: "*/witcherscript.toml" | |
- name: Zip samples | |
uses: thedoctor0/zip-release@main | |
with: | |
type: 'zip' | |
filename: "TW3_MSF_Samples.zip" | |
path: "./samples" | |
recursive_exclusions: "*/witcherscript.toml" | |
- name: Create draft release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: > | |
TW3_MSF_modSettingsFramework.zip, | |
TW3_MSF_Parser.zip, | |
TW3_MSF_Samples.zip, | |
TW3_MSF_Hooks_1.32.zip, | |
TW3_MSF_Hooks_4.00.zip, | |
TW3_MSF_Hooks_4.03.zip, | |
TW3_MSF_Hooks_4.04.zip, | |
TW3_MSF_Hooks_4.04a_REDkit.zip | |
draft: true | |
generateReleaseNotes: true |