Skip to content

Commit

Permalink
Checkout needs to be repeated in each workflow, otherwise cannot find…
Browse files Browse the repository at this point in the history
… actions
  • Loading branch information
pgm committed Jan 9, 2025
1 parent 39a88f3 commit 78130e4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/actions/prepare-breadbox/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ runs:
id: "poetry-cachedir"
run: 'echo POETRY_CACHEDIR="$HOME/.cache/pypoetry" >> "$GITHUB_OUTPUT"'

- name: "Check out"
uses: actions/checkout@v3
with:
token: "${{ secrets.GITHUB_TOKEN }}"
fetch-depth: 0

- name: "Install and configure Poetry"
uses: snok/install-poetry@v1
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build_breadbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ jobs:
pyright-breadbox-client:
runs-on: ubuntu-latest
steps:
- name: "Check out"
uses: actions/checkout@v3
with:
token: "${{ secrets.GITHUB_TOKEN }}"
fetch-depth: 0

- name: Prepare breadbox client
uses: ./.github/actions/prepare-breadbox-client # checks out and generates breadbox client code

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/publish_breadbox_client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ jobs:
publish-breadbox-client:
runs-on: ubuntu-latest
steps:
- name: "Check out"
uses: actions/checkout@v3
with:
token: "${{ secrets.GITHUB_TOKEN }}"
fetch-depth: 0

- name: Prepare breadbox client
uses: ./.github/actions/prepare-breadbox-client # checks out and generates breadbox client code

Expand Down

0 comments on commit 78130e4

Please sign in to comment.