Skip to content

Commit

Permalink
Merge pull request #6 from Endergreen12/develop
Browse files Browse the repository at this point in the history
Merge
  • Loading branch information
Endergreen12 authored Aug 1, 2024
2 parents d6ab2ee + 942c337 commit 301b2dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# 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:
Expand All @@ -20,16 +17,14 @@ jobs:
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
run: dotnet publish Blue-Archive-Assets-Converter/Blue-Archive-Assets-Converter.csproj -r win-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true --sc true --artifacts-path output
- name: Build for Linux x64
run: dotnet publish -r linux-x64
run: dotnet publish Blue-Archive-Assets-Converter/Blue-Archive-Assets-Converter.csproj -r linux-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true --sc true --artifacts-path output
- name: Release to Github
uses: softprops/action-gh-release@v2
with:
draft: true
files: |
Blue-Archive-Assets-Converter/bin/Release/net8.0/win-x64/publish/Blue-Archive-Assets-Converter.exe
Blue-Archive-Assets-Converter/bin/Release/net8.0/linux-x64/publish/Blue-Archive-Assets-Converter
output/publish/Blue-Archive-Assets-Converter/release_win-x64/Blue-Archive-Assets-Converter.exe
output/publish/Blue-Archive-Assets-Converter/release_linux-x64/Blue-Archive-Assets-Converter
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<RootNamespace>Blue_Archive_Assets_Converter</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit 301b2dd

Please sign in to comment.