Delete dotnet.yml
This commit is contained in:
parent
c5f131cf71
commit
30a5c365ec
|
@ -1,73 +0,0 @@
|
|||
name: Build Creeper
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
configuration: [Release]
|
||||
|
||||
runs-on: windows-2019
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup MSBuild
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
|
||||
- name: Install NuGet Packages
|
||||
run: nuget restore Creeper.sln
|
||||
|
||||
- name: Build solution
|
||||
run: msbuild -nologo -v:m -p:Configuration=${{ matrix.configuration }} Client\Client.csproj
|
||||
|
||||
- name: Build solution
|
||||
run: msbuild -nologo -v:m -p:Configuration=${{ matrix.configuration }} Creeper\Creeper.csproj
|
||||
|
||||
- name: Install 7Zip PowerShell Module
|
||||
shell: powershell
|
||||
run: Install-Module 7Zip4PowerShell -Force -Verbose
|
||||
|
||||
- name: Build Artifact
|
||||
shell: powershell
|
||||
run: Compress-7Zip "Binaries\Release" -ArchiveFileName "Creeper.zip" -Format Zip
|
||||
|
||||
- name: Delete-tag-and-release
|
||||
uses: dev-drprasad/delete-tag-and-release@v0.2.0
|
||||
with:
|
||||
delete_release: true
|
||||
tag_name: AutoBuild
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: AutoBuild
|
||||
release_name: AutoBuild
|
||||
body: ${{ steps.changelog.outputs.changelog }}
|
||||
draft: false
|
||||
prerelease: true
|
||||
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./Creeper.zip
|
||||
asset_name: Creeper.zip
|
||||
asset_content_type: application/zip
|
||||
|
Loading…
Reference in New Issue