Skip to content

Commit

Permalink
Move workshop.vdf to $GITHUB_WORKSPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnologicNick authored Aug 28, 2021
1 parent 4ce45c8 commit f984e56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:

- name: Write workshop.vdf
run: |
cat << EOF > ./workshop.vdf
cat << EOF > $GITHUB_WORKSPACE/workshop.vdf
"workshopitem"
{
"appid" "387990"
Expand All @@ -92,12 +92,12 @@ jobs:
}
EOF
cat ./workshop.vdf
cat $GITHUB_WORKSPACE/workshop.vdf
- name: Push to Steam Workshop
env:
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}
STEAM_2FA: ${{ fromJSON(steps.prompt.outputs.code_2fa).options.code }}
run: |
steamcmd +login $STEAM_USERNAME $STEAM_PASSWORD $STEAM_2FA +workshop_build_item workshop.vdf +quit
steamcmd +login $STEAM_USERNAME $STEAM_PASSWORD $STEAM_2FA +workshop_build_item $GITHUB_WORKSPACE/workshop.vdf +quit

0 comments on commit f984e56

Please sign in to comment.