Build and Release #1
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: Build and Release | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build for Windows x64 | |
run: dotnet publish -r win-x64 | |
- name: Build for Linux x64 | |
run: dotnet publish -r linux-x64 | |
- name: Release to Github | |
uses: softprops/action-gh-release@v2 | |
with: | |
draft: true | |
files: | | |
Blue-Archive-Catalog-Converter/bin/Release/net8.0/win-x64/publish/Blue-Archive-Catalog-Converter.exe | |
Blue-Archive-Catalog-Converter/bin/Release/net8.0/linux-x64/publish/Blue-Archive-Catalog-Converter |