Delete c-cpp.yml

This commit is contained in:
app999 2022-08-26 04:45:57 +08:00 committed by GitHub
parent 896a75535f
commit 825c31dfa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,50 +0,0 @@
name: Publish
on:
push:
branches: [ chinese ]
env:
SOLUTION_FILE_PATH: ./akebi-gc.sln
BUILD_CONFIGURATION: Release
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install MSBuild
uses: microsoft/setup-msbuild@v1.0.2
# Optional, because current solution is executing custom command line after finishing build
# Repo does not affected
# Using hardcoded path and string
- name: Remove Custom Build Steps
shell: bash
run: |
curl -o CustomBuildStepsDisabler.exe https://raw.githubusercontent.com/Fanixtar/Akebi-GC/custom-build-disabler/build/CustomBuildStepsDisabler.exe
./CustomBuildStepsDisabler.exe
- name: Build Akebi-GC solution
working-directory: ./
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
- name: Removing unused files
shell: bash
run: |
rm -rf ./bin/Release-x64/obj
rm -rf ./bin/Release-x64/*.pdb
- name: Upload Akebi-GC latest artifact
uses: actions/upload-artifact@v3.1.0
with:
name: Akebi-GC-release
path: ./bin/Release-x64/*
if-no-files-found: error