Skip to content

Commit e23b8db

Browse files
cpetersen5Manas23601
authored andcommitted
Change order of checkout steps
Signed-off-by: Manas Sivakumar <[email protected]>
1 parent bad98ee commit e23b8db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-and-publish-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,18 @@ jobs:
5959
VERSION_NUMBER=${{ steps.version_number.outputs.RELEASE_VERSION }}
6060
echo "BRANCH_NAME=v${VERSION_NUMBER%.*}" >> $GITHUB_ENV
6161
62-
- name: Checkout Repo
62+
# checkout opencost UI to allow access to actions
63+
- name: Checkout actions
6364
uses: actions/checkout@v4
6465
with:
6566
repository: 'opencost/opencost-ui'
66-
ref: '${{ steps.branch.outputs.BRANCH_NAME }}'
67-
path: ./opencost-ui
6867

69-
# checkout opencost UI to allow access to actions
70-
- name: Checkout actions
68+
- name: Checkout Repo
7169
uses: actions/checkout@v4
7270
with:
7371
repository: 'opencost/opencost-ui'
72+
ref: '${{ steps.branch.outputs.BRANCH_NAME }}'
73+
path: ./opencost-ui
7474

7575
- name: Set SHA
7676
id: sha

0 commit comments

Comments
 (0)