Check that header version is valid for the current protocol version i… #3198
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
name: MacOS-m1 binary release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+*' | |
jobs: | |
build_binary: | |
runs-on: macos-latest-xlarge | |
environment: deploy | |
permissions: | |
id-token: write # required to use OIDC authentication | |
steps: | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: arn:aws:iam::590184106962:role/GitHubActionsRunner | |
aws-region: us-west-1 | |
- name: Checkout repository for master branch | |
# In case of master branch we want to checkout with depth 1 | |
if: ${{ github.event_name != 'workflow_dispatch' && github.event_name != 'release'}} | |
uses: actions/checkout@v4 | |
- name: Neard binary build and upload to S3 | |
run: ./scripts/mac-release.sh | |
- name: Neard binary build and upload to S3 | |
run: ./scripts/mac-release.sh nightly-release | |