mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
fixed copy
This commit is contained in:
parent
6c46cf7262
commit
02a19922fb
1 changed files with 21 additions and 4 deletions
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
|
@ -16,6 +16,14 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
|
|
||||||
|
- name: NodeModules Cache
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: '**/node_modules'
|
||||||
|
key: node_modules-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
node_modules
|
||||||
|
|
||||||
- name: UI Install
|
- name: UI Install
|
||||||
run: yarn --cwd ./src/Ombi/ClientApp install
|
run: yarn --cwd ./src/Ombi/ClientApp install
|
||||||
|
|
||||||
|
@ -45,8 +53,8 @@ jobs:
|
||||||
- name: Upload dotnet test results
|
- name: Upload dotnet test results
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: dotnet-results-${{ matrix.dotnet-version }}
|
name: dotnet-results-*
|
||||||
path: TestResults-${{ matrix.dotnet-version }}
|
path: TestResults
|
||||||
# Use always() to always run this step to publish test results when there are test failures
|
# Use always() to always run this step to publish test results when there are test failures
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
||||||
|
@ -76,6 +84,15 @@ jobs:
|
||||||
format: tar.gz
|
format: tar.gz
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Nuget Cache
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.nuget/packages
|
||||||
|
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-nuget
|
||||||
|
|
||||||
- name: Publish Backend ${{ matrix.os }}
|
- name: Publish Backend ${{ matrix.os }}
|
||||||
run: |
|
run: |
|
||||||
cd src/Ombi
|
cd src/Ombi
|
||||||
|
@ -88,7 +105,7 @@ jobs:
|
||||||
|
|
||||||
- name: Copy Dist to Artifacts
|
- name: Copy Dist to Artifacts
|
||||||
run: |
|
run: |
|
||||||
copy dist ${{ matrix.os }}/ClientApp/dist
|
cp -a /dist/. ${{ matrix.os }}/ClientApp/dist/
|
||||||
|
|
||||||
- name: Archive Release
|
- name: Archive Release
|
||||||
uses: thedoctor0/zip-release@master
|
uses: thedoctor0/zip-release@master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue