Skip to content

Commit 0c5372b

Browse files
committed
wrap git tag in quotes
1 parent 3b52d10 commit 0c5372b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/create_release.main.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ workflow(
5858
action = ActionsSetupGradle()
5959
)
6060

61-
run(command = "./gradlew packageDistributionForCurrentOS -Ptag=${expr { github.ref_name }} --no-daemon")
61+
run(command = "./gradlew packageDistributionForCurrentOS -Ptag='${expr { github.ref_name }}' --no-daemon")
6262

6363
// uses(
6464
// name = "update tag",

.github/workflows/create_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
name: 'setup gradle'
4343
uses: 'gradle/actions/setup-gradle@v3'
4444
- id: 'step-3'
45-
run: './gradlew packageDistributionForCurrentOS -Ptag=${{ github.ref_name }} --no-daemon'
45+
run: './gradlew packageDistributionForCurrentOS -Ptag=''${{ github.ref_name }}'' --no-daemon'
4646
- id: 'step-4'
4747
name: 'create release'
4848
uses: 'softprops/[email protected]'

0 commit comments

Comments
 (0)