Skip to content

Commit

Permalink
chore: upload builds as artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jul 2, 2024
1 parent 9dc5509 commit f4c9148
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ jobs:
api-target: 'linux-tgz'
api-secret: ${{ secrets.BITFOCUS_API_PROJECT_SECRET }}

- name: Upload as artifact
uses: actions/upload-artifact@v4
with:
name: linux-x64
path: ${{ steps.filenames.outputs.sourcename }}
retention-days: 1

Linux-arm64:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -124,6 +131,13 @@ jobs:
api-target: 'linux-arm64-tgz'
api-secret: ${{ secrets.BITFOCUS_API_PROJECT_SECRET }}

- name: Upload as artifact
uses: actions/upload-artifact@v4
with:
name: linux-arm64
path: ${{ steps.filenames.outputs.sourcename }}
retention-days: 1

Windows-x64:
runs-on: windows-latest
steps:
Expand Down Expand Up @@ -177,6 +191,13 @@ jobs:
api-target: 'win-x64'
api-secret: ${{ secrets.BITFOCUS_API_PROJECT_SECRET }}

- name: Upload as artifact
uses: actions/upload-artifact@v4
with:
name: windows-x64
path: ${{ steps.filenames.outputs.sourcename }}
retention-days: 1

Mac-x64:
runs-on: macos-latest
steps:
Expand Down Expand Up @@ -236,6 +257,13 @@ jobs:
api-target: 'mac-intel'
api-secret: ${{ secrets.BITFOCUS_API_PROJECT_SECRET }}

- name: Upload as artifact
uses: actions/upload-artifact@v4
with:
name: mac-intel
path: ${{ steps.filenames.outputs.sourcename }}
retention-days: 1

Mac-arm64:
runs-on: macos-latest
steps:
Expand Down Expand Up @@ -295,6 +323,13 @@ jobs:
api-target: 'mac-arm'
api-secret: ${{ secrets.BITFOCUS_API_PROJECT_SECRET }}

- name: Upload as artifact
uses: actions/upload-artifact@v4
with:
name: mac-arm
path: ${{ steps.filenames.outputs.sourcename }}
retention-days: 1

pi-img:
runs-on: ubuntu-latest
name: build image
Expand Down

0 comments on commit f4c9148

Please sign in to comment.