Skip to content

Commit 4ef3d48

Browse files
build fix
1 parent 1dbb8b5 commit 4ef3d48

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ jobs:
5252
runs-on: ubuntu-latest
5353
needs: [publish-scheduler]
5454
steps:
55+
- name: Fetch Code @ tag ${{ inputs.tag }}
56+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
57+
with:
58+
ref: refs/tags/${{ inputs.tag }}
59+
5560
- name: Make release text
5661
run: |
5762
echo "# CxOne Scan Scheduler ${{ inputs.tag }}" > release.md
@@ -62,12 +67,14 @@ jobs:
6267
echo '```' >> release.md
6368
echo >> release.md
6469
echo "A Helm chart is also available as part of the release artifacts." >> release.md
70+
6571
- name: Make Helm tgz
6672
run: |
6773
cat helm/Chart.yaml | sed -E "s/(appVersion:) \"DEV\"/\1 \"${{ inputs.tag}}\"/g" > helm/Chart.yaml.tmp
6874
rm helm/Chart.yaml
6975
mv helm/Chart.yaml.tmp helm/Chart.yaml
7076
tar -C ./helm -czf ../cxone-scan-scheduler_helm.tgz
77+
7178
- name: Create GitHub Release
7279
id: create_release
7380
uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5

0 commit comments

Comments
 (0)