Skip to content

Commit

Permalink
wip: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Oct 3, 2024
1 parent 7166999 commit 82f0614
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 33 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Forge
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.0
if: ${{ inputs.forge_version != 'local' }}
with:
version: ${{ inputs.forge_version }}
- name: Install Local Forge
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.0
if: ${{ inputs.forge_version == 'local' }}
with:
earthly_token: ${{ secrets.earthly_token }}
Expand All @@ -50,14 +50,14 @@ jobs:
echo "skip=false" >> $GITHUB_OUTPUT
fi
- name: Setup CI
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.0
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@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/discovery@ci/v1.1.0
with:
filters: |
${{ env.FORGE_REGEX_CHECK }}
Expand All @@ -69,7 +69,7 @@ jobs:
${{ env.FORGE_REGEX_PUBLISH }}
check:
uses: ./.github/workflows/run.yml@ci/v1.1.1
uses: ./.github/workflows/run.yml@ci/v1.1.0
needs: [discover]
if: (fromJson(needs.discover.outputs.earthfiles)['^check(-.*)?$'] != null) && !failure() && !cancelled()
with:
Expand All @@ -79,7 +79,7 @@ jobs:
earthly_token: ${{ secrets.earthly_token }}

build:
uses: ./.github/workflows/run.yml@ci/v1.1.1
uses: ./.github/workflows/run.yml@ci/v1.1.0
needs: [discover, check]
if: (fromJson(needs.discover.outputs.earthfiles)['^build(-.*)?$'] != null) && !failure() && !cancelled()
with:
Expand All @@ -89,7 +89,7 @@ jobs:
earthly_token: ${{ secrets.earthly_token }}

package:
uses: ./.github/workflows/run.yml@ci/v1.1.1
uses: ./.github/workflows/run.yml@ci/v1.1.0
needs: [discover, check, build]
if: (fromJson(needs.discover.outputs.earthfiles)['^package(-.*)?$'] != null) && !failure() && !cancelled()
with:
Expand All @@ -99,7 +99,7 @@ jobs:
earthly_token: ${{ secrets.earthly_token }}

test:
uses: ./.github/workflows/run.yml@ci/v1.1.1
uses: ./.github/workflows/run.yml@ci/v1.1.0
needs: [discover, check, build, package]
if: (fromJson(needs.discover.outputs.earthfiles)['^test(-.*)?$'] != null) && !failure() && !cancelled()
with:
Expand All @@ -109,7 +109,7 @@ jobs:
earthly_token: ${{ secrets.earthly_token }}

docs:
uses: ./.github/workflows/docs.yml@ci/v1.1.1
uses: ./.github/workflows/docs.yml@ci/v1.1.0
needs: [discover, check, build, test]
if: (fromJson(needs.discover.outputs.earthfiles)['^docs(-.*)?$'] != null) && !failure() && !cancelled()
with:
Expand All @@ -119,7 +119,7 @@ jobs:
earthly_token: ${{ secrets.earthly_token }}

publish:
uses: ./.github/workflows/publish.yml@ci/v1.1.1
uses: ./.github/workflows/publish.yml@ci/v1.1.0
needs: [discover, check, build, test]
if: (fromJson(needs.discover.outputs.earthfiles)['^publish(-.*)?$'] != null) && !failure() && !cancelled()
with:
Expand All @@ -129,7 +129,7 @@ jobs:
earthly_token: ${{ secrets.earthly_token }}

deploy:
uses: ./.github/workflows/deploy.yml@ci/v1.1.1
uses: ./.github/workflows/deploy.yml@ci/v1.1.0
needs: [discover, check, build, test, publish]
if: (fromJson(needs.discover.outputs.deployments)[0] != null) && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && !failure() && !cancelled()
with:
Expand All @@ -139,7 +139,7 @@ jobs:
earthly_token: ${{ secrets.earthly_token }}

release:
uses: ./.github/workflows/release.yml@ci/v1.1.1
uses: ./.github/workflows/release.yml@ci/v1.1.0
needs: [discover, check, build, test]
if: (fromJson(needs.discover.outputs.earthfiles)['^release(-.*)?$'] != null) && !failure() && !cancelled()
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Forge
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.0
if: ${{ inputs.forge_version != 'local' }}
with:
version: ${{ inputs.forge_version }}
- name: Install Local Forge
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.0
if: ${{ inputs.forge_version == 'local' }}
with:
earthly_token: ${{ secrets.earthly_token }}
Expand All @@ -51,7 +51,7 @@ jobs:
echo "skip=false" >> $GITHUB_OUTPUT
fi
- name: Setup CI
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.0
with:
skip_earthly: ${{ steps.local.outputs.skip }}
- name: Deploy
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Forge
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.0
if: ${{ inputs.forge_version != 'local' }}
with:
version: ${{ inputs.forge_version }}
- name: Install Local Forge
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.0
if: ${{ inputs.forge_version == 'local' }}
with:
earthly_token: ${{ secrets.earthly_token }}
Expand All @@ -49,12 +49,12 @@ jobs:
echo "skip=false" >> $GITHUB_OUTPUT
fi
- name: Setup CI
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.0
with:
skip_earthly: ${{ steps.local.outputs.skip }}
- name: Run
id: run
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.1.0
with:
artifact: ${{ env.OUTPUT }}
path: ${{ matrix.earthfile }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Forge
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.0
if: ${{ inputs.forge_version != 'local' }}
with:
version: ${{ inputs.forge_version }}
- name: Install Local Forge
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.0
if: ${{ inputs.forge_version == 'local' }}
with:
earthly_token: ${{ secrets.earthly_token }}
Expand All @@ -56,12 +56,12 @@ jobs:
echo "skip=false" >> $GITHUB_OUTPUT
fi
- name: Setup CI
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.0
with:
skip_earthly: ${{ steps.local.outputs.skip }}
- name: Run
id: run
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.1.0
with:
path: ${{ matrix.earthfile }}
target_args: --container ${{ env.CONTAINER }} --tag ${{ env.TAG }}
Expand All @@ -77,7 +77,7 @@ jobs:
echo "project=$PROJECT" >> $GITHUB_OUTPUT
echo "target=$TARGET" >> $GITHUB_OUTPUT
- name: Publish
uses: input-output-hk/catalyst-forge/actions/publish@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/publish@ci/v1.1.0
with:
image: "${{ env.CONTAINER }}:${{ env.TAG }}"
project: ${{ steps.parse.outputs.project }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Forge
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.0
if: ${{ inputs.forge_version != 'local' }}
with:
version: ${{ inputs.forge_version }}
- name: Install Local Forge
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.0
if: ${{ inputs.forge_version == 'local' }}
with:
earthly_token: ${{ secrets.earthly_token }}
Expand All @@ -49,12 +49,12 @@ jobs:
echo "skip=false" >> $GITHUB_OUTPUT
fi
- name: Setup CI
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.0
with:
skip_earthly: ${{ steps.local.outputs.skip }}
- name: Run
id: run
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.1.0
with:
artifact: ${{ env.OUTPUT }}
path: ${{ matrix.earthfile }}
Expand All @@ -70,7 +70,7 @@ jobs:
echo "project=$PROJECT" >> $GITHUB_OUTPUT
echo "target=$TARGET" >> $GITHUB_OUTPUT
- name: Release
uses: input-output-hk/catalyst-forge/actions/release@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/release@ci/v1.1.0
with:
native_platform: linux/amd64
path: ${{ env.OUTPUT }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Forge
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.0
if: ${{ inputs.forge_version != 'local' }}
with:
version: ${{ inputs.forge_version }}
- name: Install Local Forge
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.0
if: ${{ inputs.forge_version == 'local' }}
with:
earthly_token: ${{ secrets.earthly_token }}
Expand All @@ -47,11 +47,11 @@ jobs:
echo "skip=false" >> $GITHUB_OUTPUT
fi
- name: Setup CI
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/setup@ci/v1.1.0
with:
skip_earthly: ${{ steps.local.outputs.skip }}
- name: Run
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.1.1
uses: input-output-hk/catalyst-forge/actions/run@ci/v1.1.0
with:
path: ${{ matrix.earthfile }}
env:
Expand Down

0 comments on commit 82f0614

Please sign in to comment.