@@ -27,15 +27,16 @@ jobs:
2727 outputs :
2828 deployments : ${{ steps.discovery.outputs.deployments }}
2929 earthfiles : ${{ steps.discovery.outputs.earthfiles }}
30+ releases : ${{ steps.discovery.outputs.releases }}
3031 steps :
3132 - uses : actions/checkout@v4
3233 - name : Install Forge
33- uses : input-output-hk/catalyst-forge/actions/install@ci/v1.1.0
34+ uses : input-output-hk/catalyst-forge/actions/install@master
3435 if : ${{ inputs.forge_version != 'local' }}
3536 with :
3637 version : ${{ inputs.forge_version }}
3738 - name : Install Local Forge
38- uses : input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.0
39+ uses : input-output-hk/catalyst-forge/actions/install-local@master
3940 if : ${{ inputs.forge_version == 'local' }}
4041 with :
4142 earthly_token : ${{ secrets.earthly_token }}
@@ -50,14 +51,14 @@ jobs:
5051 echo "skip=false" >> $GITHUB_OUTPUT
5152 fi
5253 - name : Setup CI
53- uses : input-output-hk/catalyst-forge/actions/setup@ci/v1.1.0
54+ uses : input-output-hk/catalyst-forge/actions/setup@master
5455 with :
5556 skip_docker : ' true'
5657 skip_github : ' true'
5758 skip_earthly : ${{ steps.local.outputs.skip }}
5859 - name : Discovery
5960 id : discovery
60- uses : input-output-hk/catalyst-forge/actions/discovery@ci/v1.1.0
61+ uses : input-output-hk/catalyst-forge/actions/discovery@master
6162 with :
6263 filters : |
6364 ${{ env.FORGE_REGEX_CHECK }}
6970 ${{ env.FORGE_REGEX_PUBLISH }}
7071
7172 check :
72- uses : input-output-hk/catalyst-forge/.github/workflows/run.yml@ci/v1.1.0
73+ uses : input-output-hk/catalyst-forge/.github/workflows/run.yml@master
7374 needs : [discover]
7475 if : (fromJson(needs.discover.outputs.earthfiles)['^check(-.*)?$'] != null) && !failure() && !cancelled()
7576 with :
7980 earthly_token : ${{ secrets.earthly_token }}
8081
8182 build :
82- uses : input-output-hk/catalyst-forge/.github/workflows/run.yml@ci/v1.1.0
83+ uses : input-output-hk/catalyst-forge/.github/workflows/run.yml@master
8384 needs : [discover, check]
8485 if : (fromJson(needs.discover.outputs.earthfiles)['^build(-.*)?$'] != null) && !failure() && !cancelled()
8586 with :
8990 earthly_token : ${{ secrets.earthly_token }}
9091
9192 package :
92- uses : input-output-hk/catalyst-forge/.github/workflows/run.yml@ci/v1.1.0
93+ uses : input-output-hk/catalyst-forge/.github/workflows/run.yml@master
9394 needs : [discover, check, build]
9495 if : (fromJson(needs.discover.outputs.earthfiles)['^package(-.*)?$'] != null) && !failure() && !cancelled()
9596 with :
99100 earthly_token : ${{ secrets.earthly_token }}
100101
101102 test :
102- uses : input-output-hk/catalyst-forge/.github/workflows/run.yml@ci/v1.1.0
103+ uses : input-output-hk/catalyst-forge/.github/workflows/run.yml@master
103104 needs : [discover, check, build, package]
104105 if : (fromJson(needs.discover.outputs.earthfiles)['^test(-.*)?$'] != null) && !failure() && !cancelled()
105106 with :
@@ -109,7 +110,7 @@ jobs:
109110 earthly_token : ${{ secrets.earthly_token }}
110111
111112 docs :
112- uses : input-output-hk/catalyst-forge/.github/workflows/docs.yml@ci/v1.1.0
113+ uses : input-output-hk/catalyst-forge/.github/workflows/docs.yml@master
113114 needs : [discover, check, build, test]
114115 if : (fromJson(needs.discover.outputs.earthfiles)['^docs(-.*)?$'] != null) && !failure() && !cancelled()
115116 with :
@@ -118,38 +119,28 @@ jobs:
118119 secrets :
119120 earthly_token : ${{ secrets.earthly_token }}
120121
121- publish :
122- uses : input-output-hk/catalyst-forge/.github/workflows/publish .yml@ci/v1.1.0
122+ release :
123+ uses : input-output-hk/catalyst-forge/.github/workflows/release .yml@master
123124 needs : [discover, check, build, test]
124- if : (fromJson(needs.discover.outputs.earthfiles)['^publish(-.*)?$' ] != null) && !failure() && !cancelled()
125+ if : (fromJson(needs.discover.outputs.releases)[0 ] != null) && !failure() && !cancelled()
125126 with :
126- earthfiles : ${{ toJson(fromJson( needs.discover.outputs.earthfiles)['^publish(-.*)?$']) }}
127+ releases : ${{ needs.discover.outputs.releases }}
127128 forge_version : ${{ inputs.forge_version }}
128129 secrets :
129130 earthly_token : ${{ secrets.earthly_token }}
130131
131132 deploy :
132- uses : input-output-hk/catalyst-forge/.github/workflows/deploy.yml@ci/v1.1.0
133- needs : [discover, check, build, test, publish ]
133+ uses : input-output-hk/catalyst-forge/.github/workflows/deploy.yml@master
134+ needs : [discover, check, build, test, release ]
134135 if : (fromJson(needs.discover.outputs.deployments)[0] != null) && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && !failure() && !cancelled()
135136 with :
136137 deployments : ${{ needs.discover.outputs.deployments }}
137138 forge_version : ${{ inputs.forge_version }}
138139 secrets :
139140 earthly_token : ${{ secrets.earthly_token }}
140141
141- release :
142- uses : input-output-hk/catalyst-forge/.github/workflows/release.yml@ci/v1.1.0
143- needs : [discover, check, build, test]
144- if : (fromJson(needs.discover.outputs.earthfiles)['^release(-.*)?$'] != null) && !failure() && !cancelled()
145- with :
146- earthfiles : ${{ toJson(fromJson(needs.discover.outputs.earthfiles)['^release(-.*)?$']) }}
147- forge_version : ${{ inputs.forge_version }}
148- secrets :
149- earthly_token : ${{ secrets.earthly_token }}
150-
151142 final :
152- needs : [check, build, package, test, publish, release]
143+ needs : [check, build, package, test, release]
153144 if : (!failure() && !cancelled())
154145 runs-on : ubuntu-latest
155146 steps :
0 commit comments