Skip to content

Commit f421190

Browse files
Use env var, fix chmod, correct path
1 parent 0cd9c26 commit f421190

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
key: ${{ secrets.BUTLER_API_KEY }}
3030

3131
- name: Upload to Itch
32-
run: butler push ./build solarlabyrinth/github-action-test:windows
32+
run: butler push ./project/build solarlabyrinth/github-action-test:windows

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
2929
cd $INSTALL_DIR
3030
31-
wget -O butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
31+
wget -O butler.zip $BUTLER_DOWNLOAD_URL
3232
unzip butler.zip
3333
rm -rf butler.zip
3434
@@ -44,3 +44,4 @@ runs:
4444
run: |
4545
mkdir -p ~/.config/itch
4646
echo "${{ inputs.key }}" > ~/.config/itch/butler_creds
47+
chmod 600 ~/.config/itch/butler_creds

0 commit comments

Comments
 (0)