Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed May 24, 2024
1 parent 086cf58 commit 887d5df
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: [ main ]

concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -31,5 +35,9 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run build
run: earthly --ci +build
- name: Run Build (pr)
if: ${{ github.event_name == 'pull_request' }}
run: earthly --org heliax --sat namada-governance-upgrades --ci +build
- name: Run build (main)
if: ${{ github.ref == 'refs/heads/main' }}
run: earthly --org heliax --sat namada-governance-upgrades --ci --push +build

0 comments on commit 887d5df

Please sign in to comment.