mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-08-07 09:01:29 -04:00
Artifacts are now self contained.
This commit is contained in:
parent
ef769e7eb3
commit
7beff87cbf
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@ -10,10 +10,16 @@ jobs:
|
|||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
include:
|
||||||
- ubuntu-latest
|
- os: ubuntu-latest
|
||||||
#- windows-latest
|
runtime: linux-x64
|
||||||
#- macOS-latest
|
artifact: linux
|
||||||
|
# - os: windows-latest
|
||||||
|
# runtime: win-x64
|
||||||
|
# artifact: windows
|
||||||
|
- os: macOS-latest
|
||||||
|
runtime: osx-x64
|
||||||
|
artifact: macos
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Checkout submodules
|
- name: Checkout submodules
|
||||||
@ -23,8 +29,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: 5.0.x
|
dotnet-version: 5.0.x
|
||||||
- name: Build the app
|
- name: Build the app
|
||||||
run: dotnet publish -c Release -o dist
|
run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: artifact-${{matrix.os}}
|
name: kyoo_${{matrix.artifact}}.zip
|
||||||
path: dist/*
|
path: dist/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user