mirror of
https://github.com/unraid/api.git
synced 2026-01-10 02:30:02 -06:00
fix: upload source to github artifacts
This commit is contained in:
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@@ -124,11 +124,14 @@ jobs:
|
||||
- name: Pack source
|
||||
run: npm pack
|
||||
|
||||
- name: Upload to Github artifacts
|
||||
- name: Upload source tgz to Github artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: unraid-api
|
||||
path: ${{ github.workspace }}/*-source.tgz
|
||||
name: unraid-api-source
|
||||
path: ${{ github.workspace }}/*.tgz
|
||||
|
||||
- name: Delete source tgz
|
||||
run: rm ${{ github.workspace }}/*.tgz
|
||||
|
||||
- name: Build binary
|
||||
run: npm i -g nexe && npm run build-binary
|
||||
@@ -136,7 +139,7 @@ jobs:
|
||||
- name: Pack binary
|
||||
run: npm pack
|
||||
|
||||
- name: Upload to Github artifacts
|
||||
- name: Upload binary tgz to Github artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: unraid-api
|
||||
|
||||
Reference in New Issue
Block a user