mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-08-04 15:18:49 +00:00
Use dotnet publis
This commit is contained in:
parent
e01cc8c824
commit
740e961b95
1 changed files with 2 additions and 6 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -6,14 +6,10 @@ name: Continuous Integration
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Build
|
name: Build for Linux
|
||||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
env:
|
|
||||||
DB_DATABASE: lighthouse
|
|
||||||
DB_USER: root
|
|
||||||
DB_PASSWORD: lighthouse
|
|
||||||
steps:
|
steps:
|
||||||
- name: Cancel previous runs of this workflow
|
- name: Cancel previous runs of this workflow
|
||||||
uses: styfle/cancel-workflow-action@0.6.0
|
uses: styfle/cancel-workflow-action@0.6.0
|
||||||
|
@ -29,7 +25,7 @@ jobs:
|
||||||
dotnet-version: "5.0.x"
|
dotnet-version: "5.0.x"
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: dotnet build -c Release
|
run: dotnet publish
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue