mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
fixed copy
This commit is contained in:
parent
6c46cf7262
commit
02a19922fb
1 changed files with 21 additions and 4 deletions
25
.github/workflows/build.yml
vendored
25
.github/workflows/build.yml
vendored
|
@ -16,6 +16,14 @@ jobs:
|
|||
with:
|
||||
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
|
||||
run: yarn --cwd ./src/Ombi/ClientApp install
|
||||
|
||||
|
@ -45,8 +53,8 @@ jobs:
|
|||
- name: Upload dotnet test results
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dotnet-results-${{ matrix.dotnet-version }}
|
||||
path: TestResults-${{ matrix.dotnet-version }}
|
||||
name: dotnet-results-*
|
||||
path: TestResults
|
||||
# Use always() to always run this step to publish test results when there are test failures
|
||||
if: ${{ always() }}
|
||||
|
||||
|
@ -76,6 +84,15 @@ jobs:
|
|||
format: tar.gz
|
||||
steps:
|
||||
- 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 }}
|
||||
run: |
|
||||
cd src/Ombi
|
||||
|
@ -88,8 +105,8 @@ jobs:
|
|||
|
||||
- name: Copy Dist to Artifacts
|
||||
run: |
|
||||
copy dist ${{ matrix.os }}/ClientApp/dist
|
||||
|
||||
cp -a /dist/. ${{ matrix.os }}/ClientApp/dist/
|
||||
|
||||
- name: Archive Release
|
||||
uses: thedoctor0/zip-release@master
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue