Skip to content

Commit fe1d4d1

Browse files
committed
bin
1 parent b6bb41f commit fe1d4d1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/deploy.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ jobs:
2424
with:
2525
distribution: 'adopt'
2626
java-version: '11'
27-
- run: echo "$(pwd)/bin" >> $GITHUB_PATH
28-
- run: |
27+
- name: Setup bin path
28+
run: |
29+
mkdir -p "$HOME/.local/bin"
30+
echo "$HOME/.local/bin" >> $GITHUB_PATH
31+
- name: Install jbake
32+
run: |
2933
mkdir -p downloads
3034
cd downloads
3135
if [[ ! -f "jbake-${JBAKE_VERSION}-bin.zip" ]]; then
@@ -34,7 +38,7 @@ jobs:
3438
echo "${JBAKE_SHA1} jbake-${JBAKE_VERSION}-bin.zip" > "jbake-${JBAKE_VERSION}-bin.zip.sha"
3539
sha1sum -c "jbake-${JBAKE_VERSION}-bin.zip.sha"
3640
unzip "jbake-${JBAKE_VERSION}-bin.zip"
37-
mv "jbake-${JBAKE_VERSION}-bin" jbake
41+
mv "jbake-${JBAKE_VERSION}-bin" "$HOME/.local/bin"
3842
- name: Configure AWS Credentials
3943
uses: aws-actions/configure-aws-credentials@v1
4044
with:

0 commit comments

Comments
 (0)