diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 01b210b..e5cdc9d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -193,11 +193,11 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 + # Setup repo and add caching - uses: actions/checkout@v4 with: - fetch-depth: 0 - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} + ref: main + - name: Install bluebuild run: | @@ -249,11 +249,11 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 + # Setup repo and add caching - uses: actions/checkout@v4 with: - fetch-depth: 0 - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} + ref: main + - name: Install bluebuild run: | @@ -304,11 +304,11 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 + # Setup repo and add caching - uses: actions/checkout@v4 with: - fetch-depth: 0 - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} + ref: main + - name: Install bluebuild run: | @@ -341,7 +341,6 @@ jobs: uses: ublue-os/remove-unwanted-software@v6 - uses: sigstore/cosign-installer@v3.3.0 - - uses: earthly/actions-setup@v1 - name: Setup Podman shell: bash @@ -355,22 +354,17 @@ jobs: sudo apt-get update sudo apt-get install -y buildah - - name: Earthly login - env: - EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }} - if: env.EARTHLY_SAT_TOKEN != null - run: | - earthly account login --token ${{ secrets.EARTHLY_SAT_TOKEN }} >> /dev/null - earthly org s blue-build - earthly sat s main + - uses: actions-rust-lang/setup-rust-toolchain@v1 + # Setup repo and add caching - uses: actions/checkout@v4 with: ref: main + - name: Install bluebuild run: | - earthly -a -P +installer/bluebuild /usr/local/bin/bluebuild + cargo install --path . --debug - name: Run Build env: