Skip to content

Commit

Permalink
Create arm64 binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
peschee committed Jan 24, 2023
1 parent c84811a commit d61b597
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,21 @@ jobs:
- name: Create Binaries
run: npm run dist

- name: 'Upload Binaries'
uses: actions/upload-artifact@v3
with:
path: dist
name: linux-binaries
retention-days: 1

- name: Create Binaries (arm64)
run: npm run dist-arm

- name: 'Upload Binaries'
- name: 'Upload Binaries (arm64)'
uses: actions/upload-artifact@v3
with:
path: dist
name: linux-binaries
name: linux-arm64-binaries
retention-days: 1

# Test building binaries on MacOS
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,26 @@ jobs:
asset_path: ./dist/win/envsubst.exe
asset_name: envsubst-${{ github.event.release.tag_name }}-win-x86_64.exe
asset_content_type: binary/octet-stream

- name: Create Binaries (arm64)
run: npm run dist-arm

- name: Upload Linux Binary (arm64)
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./dist/linux-arm64/envsubst
asset_name: envsubst-${{ github.event.release.tag_name }}-linux-arm64
asset_content_type: binary/octet-stream

- name: Upload Linux (Alpine) Binary
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./dist/alpine-arm64/envsubst
asset_name: envsubst-${{ github.event.release.tag_name }}-alpine-arm64
asset_content_type: binary/octet-stream

0 comments on commit d61b597

Please sign in to comment.