Merge pull request #11 from onekey-sec/single-request-exit-status #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: Build | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the sasquatch branch | |
push: | |
branches: | |
- master | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build_amd64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Debian package (AMD64) | |
uses: dawidd6/[email protected] | |
with: | |
os_distribution: bookworm | |
cpu_architecture: amd64 | |
- name: Upload DEB artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
path: ${{ github.workspace }}/*.deb | |
build_arm64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Debian package (AARCH64) | |
uses: dawidd6/[email protected] | |
with: | |
os_distribution: bookworm | |
cpu_architecture: arm64 | |
- name: Upload DEB artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
path: ${{ github.workspace }}/*.deb |