chore(ci): remove ci temporarily
This commit is contained in:
parent
9954b5db61
commit
0f1f6af1b9
|
|
@ -1,33 +0,0 @@
|
||||||
name: Build
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
windows:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
configuration: [Debug, Release]
|
|
||||||
|
|
||||||
name: Windows
|
|
||||||
runs-on: windows-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- uses: actions/setup-dotnet@v3
|
|
||||||
with:
|
|
||||||
dotnet-version: 7.0
|
|
||||||
|
|
||||||
- name: Restore dependencies
|
|
||||||
run: dotnet restore
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: dotnet build --no-restore
|
|
||||||
|
|
||||||
- name: Publish
|
|
||||||
run: dotnet publish --no-self-contained -c ${{ matrix.configuration }} -r win-x64
|
|
||||||
|
|
||||||
- name: Upload
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: Kiseki.Launcher.Windows (${{ matrix.configuration }})
|
|
||||||
path: .\Kiseki.Launcher.Windows\bin\${{ matrix.configuration }}\net7.0-windows\win-x64\publish\*
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
name: CI
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
name: Release
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: startsWith(github.ref, 'refs/tag/v')
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Download release artifact
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: Kiseki.Launcher.Windows (Release)
|
|
||||||
path: win-x64
|
|
||||||
|
|
||||||
- name: Rename binary
|
|
||||||
run: mv win-x64/Kiseki.Launcher.Windows.exe Kiseki.Launcher-v${{ github.ref_name }}_win-x64.exe
|
|
||||||
|
|
||||||
- name: Create release draft
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
name: ${{ github.ref_name }}
|
|
||||||
files: Kiseki.Launcher-v${{ github.ref_name }}_win-x64.exe
|
|
||||||
draft: true
|
|
||||||
Loading…
Reference in New Issue