Skip to content

Commit

Permalink
fix: Remove redundant
Browse files Browse the repository at this point in the history
earthly setup
  • Loading branch information
gmpinder committed Feb 3, 2024
1 parent 7f38fb0 commit 9d117b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,16 @@ jobs:
runs-on: ubuntu-latest

steps:
# There is a bug selecting a satellite in version 0.8
# so we use 0.7 to login and connect to the satellite
# before switching to the latest version
- uses: earthly/actions-setup@v1
with:
version: v0.7.23
version: v0.8.3

- name: Earthly login
run: |
earthly account login --token ${{ secrets.EARTHLY_SAT_TOKEN }} >> /dev/null
earthly org s blue-build
earthly sat s blue-build-pr
- uses: earthly/actions-setup@v1

with:
version: v0.8.2

- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.ref }}
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,16 @@ jobs:
runs-on: ubuntu-latest

steps:
# There is a bug selecting a satellite in version 0.8
# so we use 0.7 to login and connect to the satellite
# before switching to the latest version
- uses: earthly/actions-setup@v1
with:
version: v0.7.23
version: v0.8.3

- name: Earthly login
run: |
earthly account login --token ${{ secrets.EARTHLY_SAT_TOKEN }} >> /dev/null
earthly org s blue-build
earthly sat s blue-build
- uses: earthly/actions-setup@v1
with:
version: v0.8.2

# Setup repo and add caching
- uses: actions/checkout@v4
with:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,14 @@ jobs:
# before switching to the latest version
- uses: earthly/actions-setup@v1
with:
version: v0.7.23
version: v0.8.3

- name: Earthly login
run: |
earthly account login --token ${{ secrets.EARTHLY_SAT_TOKEN }} >> /dev/null
earthly org s blue-build
earthly sat s blue-build
- uses: earthly/actions-setup@v1
with:
version: v0.8.2

- name: Set up Python
uses: actions/setup-python@v5
- name: Add tomlq
Expand Down

0 comments on commit 9d117b5

Please sign in to comment.