Skip to content

Commit

Permalink
Create build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoRBaquero committed May 28, 2024
1 parent 4dabad7 commit e3161cb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: release

on:
push:
branches:
- 'build-workflow'

jobs:
build_release:
name: build_release
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: build
run: make geth
- name: version
run: echo "::set-output name=version::$(./build/bin/geth --version)"
id: version
- name: upload
uses: actions/upload-artifact@v4
with:
name: binary-${{ steps.version.outputs.version }}
path: build/bin/geth
if-no-files-found: error

0 comments on commit e3161cb

Please sign in to comment.