Skip to content

Commit

Permalink
Fix: Add checkout to Build_Postfix to fix workflow building
Browse files Browse the repository at this point in the history
Checkout cannot be in a self-contained action, as checkout needs to be
called before the action is invoked -- otherwise the action doesn't
exist. 🤷
  • Loading branch information
bokysan committed Oct 27, 2023
1 parent 37a595e commit a665576
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/actions/build-postfix-exporter/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ description: 'Build the latest version of postfix-exporter'
runs:
using: "composite"
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v4

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
needs:
- Helm_chart_Tests
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: ./.github/actions/build-postfix-exporter
with:
tags: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
needs:
- Helm_chart_Tests
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: ./.github/actions/build-postfix-exporter
with:
tags: |
Expand Down

0 comments on commit a665576

Please sign in to comment.