Skip to content

Commit a6801f6

Browse files
committed
Update to Earthbuild
1 parent 35d5033 commit a6801f6

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
name: CI
22

33
on:
4-
push: {}
4+
push:
5+
branches: [ main ]
56
pull_request:
67
branches: [ main ]
78

9+
permissions:
10+
contents: write # to tag the repository
11+
812
jobs:
913
build:
1014
runs-on: ubuntu-latest
1115
env:
1216
FORCE_COLOR: 1
1317
steps:
14-
- uses: earthly/actions-setup@v1
18+
- name: Install EarthBuild
19+
uses: EarthBuild/actions-setup@v2.0.0
1520
with:
1621
github-token: ${{ secrets.GITHUB_TOKEN }}
22+
version: 'latest' # or pin to an specific version, e.g. "0.8.1"
1723

1824
- uses: actions/checkout@v4
1925
with:
@@ -63,7 +69,7 @@ jobs:
6369
strategy:
6470
fail-fast: false
6571
matrix:
66-
os: [windows-latest, ubuntu-latest, macos-latest]
72+
os: [ windows-latest, ubuntu-latest, macos-latest ]
6773
steps:
6874
- name: Download build.requires.psd1
6975
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)