feat(distribution): add fee-distribution and avs-reward distribution #257
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: goreleaser | |
permissions: | |
contents: write | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
# Validate on develop, main, and master branches that the releaser | |
# is working as expected. | |
pull_request: | |
branches: | |
- develop | |
- main | |
- master | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Free disk space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
- name: Release dry run | |
run: make release-dry-run | |
if: github.event_name == 'pull_request' | |
- name: setup release environment | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: |- | |
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env | |
if: github.event_name != 'pull_request' | |
- name: Release publish | |
# Do not publish the release for pull requests. | |
if: github.event_name != 'pull_request' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make release |