Skip to content

Commit

Permalink
fix(): first iteration of new main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye committed Feb 10, 2025
1 parent a7420ac commit 99c7f32
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
17 changes: 3 additions & 14 deletions .github/actions/build-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,17 @@ description: 'Build Jar & Docker image, upload artifacts, and push the docker im

outputs:
docker-tag:
description: "The Docker image Tag for Kestra"
value: ${{ steps.vars.outputs.tag }}
description: "The Docker image Tag for Kestra"
docker-artifact-name:
description: "The GitHub artifact containing the Kestra docker image name."
value: ${{ steps.vars.outputs.artifact }}
description: "The GitHub artifact containing the Kestra docker image name."
plugins:
description: "The Kestra plugins to be used for the build."
value: ${{ steps.plugins-list.outputs.plugins }}
description: "The Kestra plugins list used for the build."

runs:
using: composite
name: Build Artifacts
outputs:
docker-tag:
value: ${{ steps.vars.outputs.tag }}
description: "The Docker image Tag for Kestra"
docker-artifact-name:
value: ${{ steps.vars.outputs.artifact }}
description: "The GitHub artifact containing the Kestra docker image name."
plugins:
value: ${{ steps.plugins-list.outputs.plugins }}
description: "The Kestra plugins list used for the build."
steps:
- name: Checkout current ref
uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,13 @@ jobs:
build-artifacts:
name: Build artifacts
needs: file-changes
if: "needs.file-changes.outputs.e2e == 'true'"
# if: "needs.file-changes.outputs.e2e == 'true'"
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- run: |
echo ${{ needs.file-changes.outputs.backend }}
echo ${{ needs.file-changes.outputs.e2e }}
- uses: actions/checkout@v4

- uses: ./.github/actions/build-artifacts
Expand Down

0 comments on commit 99c7f32

Please sign in to comment.