-
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
It seems that if you try to push to two branches in the same CI job, this action will fail in the second step with:
mkdir: cannot create directory ‘BuildOutput’: File exists
My guess is that at https://github.com/game-ci/steam-deploy/blob/main/steam_deploy.sh#L10 it's creating a new BuildOutput
directory but it's never deleted.
How to reproduce
- name: Deploy to Steam (branch1)
uses: game-ci/steam-deploy@v3
with:
username: ...
configVdf: ...
appId: ...
buildDescription: todo
rootPath: desktop/build
depot2Path: package/
releaseBranch: branch1
- name: Deploy to Steam (branch2)
uses: game-ci/steam-deploy@v3
with:
username: ...
configVdf: ...
appId: ...
buildDescription: todo
rootPath: desktop/build
depot2Path: package/
releaseBranch: branch2
Expected behavior
It should be possible to push the same build to two Steam branches within the same CI job.
Additional details
Potential workarounds:
- Maybe
steam-deploy
canrm -rf BuildOutput
once the build has successfully uploaded - Or the
BuildOutput
directory name is randomly generated per build - Another workaround is probably running two CI jobs concurrently, one for each Steam branch, but Password: FAILED (Invalid Password) #62 (comment) reported that it may not be possible to upload two Steam branches at the same time
OndrejSpanel
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working