Skip to content

Commit

Permalink
wip: fixes ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Sep 20, 2024
1 parent 76eb368 commit 2da2388
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
filters: |
^check(-.*+)?$
^build(-.*+)?$
^test(-.*+)?$
^package(-.*+)?$
^test(-.*+)?$
^release(-.*+)?$
^publish(-.*+)?$
Expand All @@ -75,20 +75,20 @@ jobs:
secrets:
earthly_token: ${{ secrets.earthly_token }}

test:
package:
uses: ./.github/workflows/run.yml
needs: [discover, check, build]
with:
earthfiles: ${{ toJson(fromJson(needs.discover.outputs.result)['^test(-.*+)?$']) }}
earthfiles: ${{ toJson(fromJson(needs.discover.outputs.result)['^package(-.*+)?$']) }}
forge_version: ${{ inputs.forge_version }}
secrets:
earthly_token: ${{ secrets.earthly_token }}

package:
test:
uses: ./.github/workflows/run.yml
needs: [discover, check, build]
needs: [discover, check, build, package]
with:
earthfiles: ${{ toJson(fromJson(needs.discover.outputs.result)['^package(-.*+)?$']) }}
earthfiles: ${{ toJson(fromJson(needs.discover.outputs.result)['^test(-.*+)?$']) }}
forge_version: ${{ inputs.forge_version }}
secrets:
earthly_token: ${{ secrets.earthly_token }}
Expand Down
2 changes: 1 addition & 1 deletion blueprint.cue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ global: {
local: [
"^check(-.*+)?$",
"^build(-.*+)?$",
"^test(-.*+)?$",
"^package(-.*+)?$",
"^test(-.*+)?$",
"^release(-.*+)?$",
"^publish(-.*+)?$",
]
Expand Down

0 comments on commit 2da2388

Please sign in to comment.