Skip to content

Build and Release

Build and Release #2

Workflow file for this run

# 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