Skip to content

Commit e635994

Browse files
authored
Fix variable declaration in publish-javadoc.yml (#257)
1 parent 7c8cadf commit e635994

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish-javadoc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
- name: Extract Robolectric version
1818
id: robolectric_version
1919
run: |
20-
authorAssociation=${{ github.event.issue.author_association }}
20+
authorAssociation="${{ github.event.issue.author_association }}"
2121
2222
if [[ "$authorAssociation" == "COLLABORATOR" || "$authorAssociation" == "MEMBER" || "$authorAssociation" == "OWNER" ]]; then
23-
issueTitle=${{ github.event.issue.title }}
23+
issueTitle="${{ github.event.issue.title }}"
2424
2525
if [[ "$issueTitle" =~ ^Publish\ javadoc\ for\ (([0-9]+\.[0-9]+)(\.[0-9]+)?)$ ]]; then
26-
robolectricMinorVersion=${BASH_REMATCH[2]}
27-
robolectricPatchVersion=${BASH_REMATCH[1]}
26+
robolectricMinorVersion="${BASH_REMATCH[2]}"
27+
robolectricPatchVersion="${BASH_REMATCH[1]}"
2828
2929
echo "minorVersion=$robolectricMinorVersion" > $GITHUB_OUTPUT
3030
echo "patchVersion=$robolectricPatchVersion" >> $GITHUB_OUTPUT
@@ -62,7 +62,7 @@ jobs:
6262
if: ${{ steps.robolectric_version.outputs.minorVersion }}
6363
run: |
6464
cd robolectric.github.io
65-
targetFolder=docs/javadoc/${{ steps.robolectric_version.outputs.minorVersion }}
65+
targetFolder="docs/javadoc/${{ steps.robolectric_version.outputs.minorVersion }}"
6666
if [ -e $targetFolder ]; then
6767
rm -r $targetFolder
6868
fi

0 commit comments

Comments
 (0)