Skip to content

Commit fa6eb94

Browse files
authored
Use intermediate variable for publish version (#2)
1 parent 3e0abcc commit fa6eb94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
publish:
1313
name: "Publish"
1414
runs-on: ubuntu-latest
15+
env:
16+
VERSION: ${{ github.event.inputs.version }}
1517
steps:
1618
- uses: actions/checkout@v4
1719
with:
@@ -20,6 +22,6 @@ jobs:
2022
env:
2123
JF_ENV_1: ${{ secrets.ARTIFACTORY_CLI_SECRET }}
2224
- name: Download
23-
run: ./download-doxygen.sh ${{ github.event.inputs.version }}
25+
run: ./download-doxygen.sh "$VERSION"
2426
- name: Upload
2527
run: jfrog rt u ${{ github.event.inputs.version }}/ generic-release-mirror/doxygen/

0 commit comments

Comments
 (0)