From 233e04e85ef2f4803dfcf0929fecab8f8bd72eb1 Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Wed, 28 May 2025 14:08:20 -0700 Subject: [PATCH 1/4] chore: manually downloads Earthly instead of using abandoned GHA --- .github/workflows/ci.yml | 24 ++++++++++++------------ .github/workflows/deploy.yml | 8 ++++---- .github/workflows/docs.yml | 8 ++++---- .github/workflows/release.yml | 8 ++++---- .github/workflows/run.yml | 8 ++++---- actions/setup/action.yml | 20 +++++++++++++++++--- 6 files changed, 45 insertions(+), 31 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a75b361..c6472388 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,12 +47,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Forge - uses: input-output-hk/catalyst-forge/actions/install@master + uses: input-output-hk/catalyst-forge/actions/install@manual-earthly-download if: ${{ inputs.forge_version != 'local' }} with: version: ${{ inputs.forge_version }} - name: Install Local Forge - uses: input-output-hk/catalyst-forge/actions/install-local@master + uses: input-output-hk/catalyst-forge/actions/install-local@manual-earthly-download if: ${{ inputs.forge_version == 'local' }} with: earthly_token: ${{ secrets.earthly_token }} @@ -67,14 +67,14 @@ jobs: echo "skip=false" >> $GITHUB_OUTPUT fi - name: Setup CI - uses: input-output-hk/catalyst-forge/actions/setup@master + uses: input-output-hk/catalyst-forge/actions/setup@manual-earthly-download with: skip_docker: 'true' skip_github: 'true' skip_earthly: ${{ steps.local.outputs.skip }} - name: Discovery id: discovery - uses: input-output-hk/catalyst-forge/actions/discovery@master + uses: input-output-hk/catalyst-forge/actions/discovery@manual-earthly-download with: filters: | ${{ env.FORGE_REGEX_CHECK }} @@ -86,7 +86,7 @@ jobs: ${{ env.FORGE_REGEX_PUBLISH }} ${{ env.FORGE_REGEX_NIGHTLY }} check: - uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master + uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@manual-earthly-download needs: [discover] if: (fromJson(needs.discover.outputs.earthfiles)['^check(-.*)?$'] != null) && !failure() && !cancelled() with: @@ -98,7 +98,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} build: - uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master + uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@manual-earthly-download needs: [discover, check] if: (fromJson(needs.discover.outputs.earthfiles)['^build(-.*)?$'] != null) && !failure() && !cancelled() with: @@ -110,7 +110,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} package: - uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master + uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@manual-earthly-download needs: [discover, check, build] if: (fromJson(needs.discover.outputs.earthfiles)['^package(-.*)?$'] != null) && !failure() && !cancelled() with: @@ -122,7 +122,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} test: - uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master + uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@manual-earthly-download needs: [discover, check, build, package] if: (fromJson(needs.discover.outputs.earthfiles)['^test(-.*)?$'] != null) && !failure() && !cancelled() with: @@ -134,7 +134,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} nightly: - uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master + uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@manual-earthly-download needs: [discover, check, build, package] if: (fromJson(needs.discover.outputs.earthfiles)['^nightly(-.*)?$'] != null) && !failure() && !cancelled() && inputs.nightly == true with: @@ -146,7 +146,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} docs: - uses: input-output-hk/catalyst-forge/.github/workflows/docs.yml@master + uses: input-output-hk/catalyst-forge/.github/workflows/docs.yml@manual-earthly-download needs: [discover, check, build, test] if: (fromJson(needs.discover.outputs.earthfiles)['^docs(-.*)?$'] != null) && !failure() && !cancelled() with: @@ -156,7 +156,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} release: - uses: input-output-hk/catalyst-forge/.github/workflows/release.yml@master + uses: input-output-hk/catalyst-forge/.github/workflows/release.yml@manual-earthly-download needs: [discover, check, build, test] if: (fromJson(needs.discover.outputs.releases)[0] != null) && !failure() && !cancelled() with: @@ -168,7 +168,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} deploy: - uses: input-output-hk/catalyst-forge/.github/workflows/deploy.yml@master + uses: input-output-hk/catalyst-forge/.github/workflows/deploy.yml@manual-earthly-download needs: [discover, check, build, test, release] if: (fromJson(needs.discover.outputs.deployments)[0] != null) && !failure() && !cancelled() with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a938df72..8bce30b3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,12 +42,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Forge - uses: input-output-hk/catalyst-forge/actions/install@master + uses: input-output-hk/catalyst-forge/actions/install@manual-earthly-download if: ${{ inputs.forge_version != 'local' }} with: version: ${{ inputs.forge_version }} - name: Install Local Forge - uses: input-output-hk/catalyst-forge/actions/install-local@master + uses: input-output-hk/catalyst-forge/actions/install-local@manual-earthly-download if: ${{ inputs.forge_version == 'local' }} with: earthly_token: ${{ secrets.earthly_token }} @@ -62,11 +62,11 @@ jobs: echo "skip=false" >> $GITHUB_OUTPUT fi - name: Setup CI - uses: input-output-hk/catalyst-forge/actions/setup@master + uses: input-output-hk/catalyst-forge/actions/setup@manual-earthly-download with: skip_earthly: ${{ steps.local.outputs.skip }} - name: Deploy - uses: input-output-hk/catalyst-forge/actions/run@master + uses: input-output-hk/catalyst-forge/actions/run@manual-earthly-download with: command: mod deploy args: ${{ matrix.deployment }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 80361cee..b42fefed 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -44,12 +44,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Forge - uses: input-output-hk/catalyst-forge/actions/install@master + uses: input-output-hk/catalyst-forge/actions/install@manual-earthly-download if: ${{ inputs.forge_version != 'local' }} with: version: ${{ inputs.forge_version }} - name: Install Local Forge - uses: input-output-hk/catalyst-forge/actions/install-local@master + uses: input-output-hk/catalyst-forge/actions/install-local@manual-earthly-download if: ${{ inputs.forge_version == 'local' }} with: earthly_token: ${{ secrets.earthly_token }} @@ -64,11 +64,11 @@ jobs: echo "skip=false" >> $GITHUB_OUTPUT fi - name: Setup CI - uses: input-output-hk/catalyst-forge/actions/setup@master + uses: input-output-hk/catalyst-forge/actions/setup@manual-earthly-download with: skip_earthly: ${{ steps.local.outputs.skip }} - name: Run - uses: input-output-hk/catalyst-forge/actions/run@master + uses: input-output-hk/catalyst-forge/actions/run@manual-earthly-download with: command: run args: --artifact ${{ env.OUTPUT }} ${{ matrix.earthfile }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68f50458..163dc0a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,12 +45,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Forge - uses: input-output-hk/catalyst-forge/actions/install@master + uses: input-output-hk/catalyst-forge/actions/install@manual-earthly-download if: ${{ inputs.forge_version != 'local' }} with: version: ${{ inputs.forge_version }} - name: Install Local Forge - uses: input-output-hk/catalyst-forge/actions/install-local@master + uses: input-output-hk/catalyst-forge/actions/install-local@manual-earthly-download if: ${{ inputs.forge_version == 'local' }} with: earthly_token: ${{ secrets.earthly_token }} @@ -65,11 +65,11 @@ jobs: echo "skip=false" >> $GITHUB_OUTPUT fi - name: Setup CI - uses: input-output-hk/catalyst-forge/actions/setup@master + uses: input-output-hk/catalyst-forge/actions/setup@manual-earthly-download with: skip_earthly: ${{ steps.local.outputs.skip }} - name: Release - uses: input-output-hk/catalyst-forge/actions/run@master + uses: input-output-hk/catalyst-forge/actions/run@manual-earthly-download with: command: release args: ${{ matrix.release.project }} ${{ matrix.release.name }} diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 2556a60c..4ab892ec 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -42,12 +42,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Forge - uses: input-output-hk/catalyst-forge/actions/install@master + uses: input-output-hk/catalyst-forge/actions/install@manual-earthly-download if: ${{ inputs.forge_version != 'local' }} with: version: ${{ inputs.forge_version }} - name: Install Local Forge - uses: input-output-hk/catalyst-forge/actions/install-local@master + uses: input-output-hk/catalyst-forge/actions/install-local@manual-earthly-download if: ${{ inputs.forge_version == 'local' }} with: earthly_token: ${{ secrets.earthly_token }} @@ -62,11 +62,11 @@ jobs: echo "skip=false" >> $GITHUB_OUTPUT fi - name: Setup CI - uses: input-output-hk/catalyst-forge/actions/setup@master + uses: input-output-hk/catalyst-forge/actions/setup@manual-earthly-download with: skip_earthly: ${{ steps.local.outputs.skip }} - name: Run - uses: input-output-hk/catalyst-forge/actions/run@master + uses: input-output-hk/catalyst-forge/actions/run@manual-earthly-download with: command: run args: ${{ matrix.earthfile }} diff --git a/actions/setup/action.yml b/actions/setup/action.yml index 932aba10..d220f5ab 100644 --- a/actions/setup/action.yml +++ b/actions/setup/action.yml @@ -169,11 +169,25 @@ runs: fi echo "version=$VERSION" >> $GITHUB_OUTPUT - - name: Install Earthly - uses: earthly/actions-setup@v1 + - name: Cache Earthly binary + id: cache-binary + uses: actions/cache@v4 if: inputs.skip_earthly == 'false' with: - version: ${{ steps.earthly.outputs.version }} + path: /usr/local/bin/earthly + key: ${{ runner.os }}-${{ steps.earthly.outputs.version }} + - name: Install Earthly + if: inputs.skip_earthly == 'false' && steps.cache-binary.outputs.cache-hit == false + shell: bash + run: | + if [[ "${{ steps.earthly.outputs.version }}" == "latest" ]]; then + wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly + else + wget https://github.com/earthly/earthly/releases/download/v${{ steps.earthly.outputs.version}}/earthly-linux-amd64 -O /usr/local/bin/earthly + fi + + chmod +x /usr/local/bin/earthly + /usr/local/bin/earthly bootstrap - name: Login to Earthly Cloud if: steps.earthly.outputs.token != '' && steps.earthly.conclusion == 'success' shell: bash From a68d25d72663604366c5260bf05c7d0855ec0599 Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Wed, 28 May 2025 14:16:20 -0700 Subject: [PATCH 2/4] chore: updates install local action --- actions/install-local/action.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/actions/install-local/action.yml b/actions/install-local/action.yml index ff251dd2..79fa38cc 100644 --- a/actions/install-local/action.yml +++ b/actions/install-local/action.yml @@ -10,10 +10,20 @@ runs: steps: - shell: bash run: echo "Building Forge CLI locally..." - - name: Install Earthly - uses: earthly/actions-setup@v1 + - name: Cache Earthly binary + id: cache-earthly + uses: actions/cache@v4 + if: inputs.skip_earthly == 'false' with: - version: latest + path: /usr/local/bin/earthly + key: ${{ runner.os }} + - name: Install Earthly + if: steps.cache-earthly.outputs.cache-hit == false + shell: bash + run: | + wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly + chmod +x /usr/local/bin/earthly + /usr/local/bin/earthly bootstrap - name: Login to Earthly Cloud if: steps.cache-binary.outputs.cache-hit == false shell: bash From 76aff567ae572f378b0c263c7ac0934b4c7563fc Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Wed, 28 May 2025 14:22:27 -0700 Subject: [PATCH 3/4] wip: fix --- actions/install-local/action.yml | 3 +-- actions/setup/action.yml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/actions/install-local/action.yml b/actions/install-local/action.yml index 79fa38cc..53f08d54 100644 --- a/actions/install-local/action.yml +++ b/actions/install-local/action.yml @@ -13,7 +13,6 @@ runs: - name: Cache Earthly binary id: cache-earthly uses: actions/cache@v4 - if: inputs.skip_earthly == 'false' with: path: /usr/local/bin/earthly key: ${{ runner.os }} @@ -21,7 +20,7 @@ runs: if: steps.cache-earthly.outputs.cache-hit == false shell: bash run: | - wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly + wget -q https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly chmod +x /usr/local/bin/earthly /usr/local/bin/earthly bootstrap - name: Login to Earthly Cloud diff --git a/actions/setup/action.yml b/actions/setup/action.yml index d220f5ab..01e8589d 100644 --- a/actions/setup/action.yml +++ b/actions/setup/action.yml @@ -181,9 +181,9 @@ runs: shell: bash run: | if [[ "${{ steps.earthly.outputs.version }}" == "latest" ]]; then - wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly + wget -q https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly else - wget https://github.com/earthly/earthly/releases/download/v${{ steps.earthly.outputs.version}}/earthly-linux-amd64 -O /usr/local/bin/earthly + wget -q https://github.com/earthly/earthly/releases/download/v${{ steps.earthly.outputs.version}}/earthly-linux-amd64 -O /usr/local/bin/earthly fi chmod +x /usr/local/bin/earthly From 4485071e3848cb94dd2eb2e4c729e1db16f79d3c Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Wed, 28 May 2025 14:47:35 -0700 Subject: [PATCH 4/4] wip: cleanup --- .github/workflows/ci.yml | 24 ++++++++++++------------ .github/workflows/deploy.yml | 8 ++++---- .github/workflows/docs.yml | 8 ++++---- .github/workflows/release.yml | 8 ++++---- .github/workflows/run.yml | 8 ++++---- 5 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6472388..9a75b361 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,12 +47,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Forge - uses: input-output-hk/catalyst-forge/actions/install@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/install@master if: ${{ inputs.forge_version != 'local' }} with: version: ${{ inputs.forge_version }} - name: Install Local Forge - uses: input-output-hk/catalyst-forge/actions/install-local@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/install-local@master if: ${{ inputs.forge_version == 'local' }} with: earthly_token: ${{ secrets.earthly_token }} @@ -67,14 +67,14 @@ jobs: echo "skip=false" >> $GITHUB_OUTPUT fi - name: Setup CI - uses: input-output-hk/catalyst-forge/actions/setup@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/setup@master with: skip_docker: 'true' skip_github: 'true' skip_earthly: ${{ steps.local.outputs.skip }} - name: Discovery id: discovery - uses: input-output-hk/catalyst-forge/actions/discovery@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/discovery@master with: filters: | ${{ env.FORGE_REGEX_CHECK }} @@ -86,7 +86,7 @@ jobs: ${{ env.FORGE_REGEX_PUBLISH }} ${{ env.FORGE_REGEX_NIGHTLY }} check: - uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@manual-earthly-download + uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master needs: [discover] if: (fromJson(needs.discover.outputs.earthfiles)['^check(-.*)?$'] != null) && !failure() && !cancelled() with: @@ -98,7 +98,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} build: - uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@manual-earthly-download + uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master needs: [discover, check] if: (fromJson(needs.discover.outputs.earthfiles)['^build(-.*)?$'] != null) && !failure() && !cancelled() with: @@ -110,7 +110,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} package: - uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@manual-earthly-download + uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master needs: [discover, check, build] if: (fromJson(needs.discover.outputs.earthfiles)['^package(-.*)?$'] != null) && !failure() && !cancelled() with: @@ -122,7 +122,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} test: - uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@manual-earthly-download + uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master needs: [discover, check, build, package] if: (fromJson(needs.discover.outputs.earthfiles)['^test(-.*)?$'] != null) && !failure() && !cancelled() with: @@ -134,7 +134,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} nightly: - uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@manual-earthly-download + uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master needs: [discover, check, build, package] if: (fromJson(needs.discover.outputs.earthfiles)['^nightly(-.*)?$'] != null) && !failure() && !cancelled() && inputs.nightly == true with: @@ -146,7 +146,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} docs: - uses: input-output-hk/catalyst-forge/.github/workflows/docs.yml@manual-earthly-download + uses: input-output-hk/catalyst-forge/.github/workflows/docs.yml@master needs: [discover, check, build, test] if: (fromJson(needs.discover.outputs.earthfiles)['^docs(-.*)?$'] != null) && !failure() && !cancelled() with: @@ -156,7 +156,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} release: - uses: input-output-hk/catalyst-forge/.github/workflows/release.yml@manual-earthly-download + uses: input-output-hk/catalyst-forge/.github/workflows/release.yml@master needs: [discover, check, build, test] if: (fromJson(needs.discover.outputs.releases)[0] != null) && !failure() && !cancelled() with: @@ -168,7 +168,7 @@ jobs: earthly_token: ${{ secrets.earthly_token }} deploy: - uses: input-output-hk/catalyst-forge/.github/workflows/deploy.yml@manual-earthly-download + uses: input-output-hk/catalyst-forge/.github/workflows/deploy.yml@master needs: [discover, check, build, test, release] if: (fromJson(needs.discover.outputs.deployments)[0] != null) && !failure() && !cancelled() with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8bce30b3..a938df72 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,12 +42,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Forge - uses: input-output-hk/catalyst-forge/actions/install@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/install@master if: ${{ inputs.forge_version != 'local' }} with: version: ${{ inputs.forge_version }} - name: Install Local Forge - uses: input-output-hk/catalyst-forge/actions/install-local@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/install-local@master if: ${{ inputs.forge_version == 'local' }} with: earthly_token: ${{ secrets.earthly_token }} @@ -62,11 +62,11 @@ jobs: echo "skip=false" >> $GITHUB_OUTPUT fi - name: Setup CI - uses: input-output-hk/catalyst-forge/actions/setup@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/setup@master with: skip_earthly: ${{ steps.local.outputs.skip }} - name: Deploy - uses: input-output-hk/catalyst-forge/actions/run@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/run@master with: command: mod deploy args: ${{ matrix.deployment }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b42fefed..80361cee 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -44,12 +44,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Forge - uses: input-output-hk/catalyst-forge/actions/install@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/install@master if: ${{ inputs.forge_version != 'local' }} with: version: ${{ inputs.forge_version }} - name: Install Local Forge - uses: input-output-hk/catalyst-forge/actions/install-local@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/install-local@master if: ${{ inputs.forge_version == 'local' }} with: earthly_token: ${{ secrets.earthly_token }} @@ -64,11 +64,11 @@ jobs: echo "skip=false" >> $GITHUB_OUTPUT fi - name: Setup CI - uses: input-output-hk/catalyst-forge/actions/setup@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/setup@master with: skip_earthly: ${{ steps.local.outputs.skip }} - name: Run - uses: input-output-hk/catalyst-forge/actions/run@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/run@master with: command: run args: --artifact ${{ env.OUTPUT }} ${{ matrix.earthfile }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 163dc0a4..68f50458 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,12 +45,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Forge - uses: input-output-hk/catalyst-forge/actions/install@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/install@master if: ${{ inputs.forge_version != 'local' }} with: version: ${{ inputs.forge_version }} - name: Install Local Forge - uses: input-output-hk/catalyst-forge/actions/install-local@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/install-local@master if: ${{ inputs.forge_version == 'local' }} with: earthly_token: ${{ secrets.earthly_token }} @@ -65,11 +65,11 @@ jobs: echo "skip=false" >> $GITHUB_OUTPUT fi - name: Setup CI - uses: input-output-hk/catalyst-forge/actions/setup@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/setup@master with: skip_earthly: ${{ steps.local.outputs.skip }} - name: Release - uses: input-output-hk/catalyst-forge/actions/run@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/run@master with: command: release args: ${{ matrix.release.project }} ${{ matrix.release.name }} diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 4ab892ec..2556a60c 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -42,12 +42,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Forge - uses: input-output-hk/catalyst-forge/actions/install@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/install@master if: ${{ inputs.forge_version != 'local' }} with: version: ${{ inputs.forge_version }} - name: Install Local Forge - uses: input-output-hk/catalyst-forge/actions/install-local@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/install-local@master if: ${{ inputs.forge_version == 'local' }} with: earthly_token: ${{ secrets.earthly_token }} @@ -62,11 +62,11 @@ jobs: echo "skip=false" >> $GITHUB_OUTPUT fi - name: Setup CI - uses: input-output-hk/catalyst-forge/actions/setup@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/setup@master with: skip_earthly: ${{ steps.local.outputs.skip }} - name: Run - uses: input-output-hk/catalyst-forge/actions/run@manual-earthly-download + uses: input-output-hk/catalyst-forge/actions/run@master with: command: run args: ${{ matrix.earthfile }}