Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
- Compile and upload binaries when branch is `v4`
  • Loading branch information
RaulBernal authored Oct 3, 2024
1 parent 1780e87 commit 6d010e5
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Release"

on:
push:
tags:
- v*
branches:
- v4
jobs:
draft-release:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Copy Binary
run: |
make build-reproducible-all
- name: List files
run: ls -R

- name: Draft Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: |
build/bcnad_linux_arm64
build/bcnad_linux_amd64
build/bcnad_sha256.txt

0 comments on commit 6d010e5

Please sign in to comment.