update ci
Some checks failed
Extinction Online CI Gitea / build (false, 6.0.x, linux-x64) (push) Failing after 1m8s
Extinction Online CI Gitea / build (false, 6.0.x, osx-x64) (push) Failing after 37s
Extinction Online CI Gitea / build (false, 6.0.x, win-x64) (push) Failing after 25s
Extinction Online CI Gitea / build (true, 6.0.x, linux-x64) (push) Failing after 22s
Extinction Online CI Gitea / build (true, 6.0.x, osx-x64) (push) Failing after 16s
Extinction Online CI Gitea / build (true, 6.0.x, win-x64) (push) Failing after 19s
Some checks failed
Extinction Online CI Gitea / build (false, 6.0.x, linux-x64) (push) Failing after 1m8s
Extinction Online CI Gitea / build (false, 6.0.x, osx-x64) (push) Failing after 37s
Extinction Online CI Gitea / build (false, 6.0.x, win-x64) (push) Failing after 25s
Extinction Online CI Gitea / build (true, 6.0.x, linux-x64) (push) Failing after 22s
Extinction Online CI Gitea / build (true, 6.0.x, osx-x64) (push) Failing after 16s
Extinction Online CI Gitea / build (true, 6.0.x, win-x64) (push) Failing after 19s
This commit is contained in:
parent
8136e91a0f
commit
7fe7cfcd60
39
.gitea/workflows/demo.yaml
Normal file
39
.gitea/workflows/demo.yaml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
name: Extinction Online CI Gitea
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./ExtinctionOnline.Server
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
dotnet-version: ['6.0.x']
|
||||||
|
publishes: [ win-x64, osx-x64, linux-x64 ]
|
||||||
|
contained: [true, false]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
|
||||||
|
uses: https://github.com/actions/setup-dotnet@v3
|
||||||
|
with:
|
||||||
|
dotnet-version: ${{ matrix.dotnet-version }}
|
||||||
|
- uses: https://github.com/actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ~/.nuget/packages
|
||||||
|
# Look to see if there is a cache hit for the corresponding requirements file
|
||||||
|
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-nuget
|
||||||
|
- name: Install dependencies
|
||||||
|
run: dotnet add package Fleck --version 1.2.0
|
||||||
|
- name: Publish
|
||||||
|
run: dotnet publish -c Release -p:PublishSingleFile=true --self-contained ${{ matrix.contained }} -r ${{ matrix.publishes }}
|
||||||
|
-o ./bin/Release/${{ matrix.publishes }}/
|
||||||
|
- name: Upload build artifacts
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: Extinction Online Server ${{ matrix.publishes }} ${{ matrix.contained == true && 'With Runtime' || matrix.contained == false && 'Without Runtime' }}
|
||||||
|
path: |
|
||||||
|
ExtinctionOnline.Server/bin/Release/${{ matrix.publishes }}/*
|
Loading…
Reference in New Issue
Block a user