From f4c91486f8be5c4533007c9ca242fb66952e4687 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Tue, 2 Jul 2024 22:36:09 +0100 Subject: [PATCH] chore: upload builds as artifacts --- .github/workflows/node.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.github/workflows/node.yaml b/.github/workflows/node.yaml index baaaf55..844cdee 100644 --- a/.github/workflows/node.yaml +++ b/.github/workflows/node.yaml @@ -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: @@ -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: @@ -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: @@ -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: @@ -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