Skip to content

Commit

Permalink
Conditional steam build
Browse files Browse the repository at this point in the history
  • Loading branch information
gleblebedev committed Jul 27, 2024
1 parent 4e8db8c commit f293ae6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,15 +309,8 @@ jobs:
publish_to_steam:
needs: [set_version, build_desktop]
runs-on: ubuntu-latest
if: needs.set_version.outputs.STEAM_USERNAME != ''
steps:
- name: Check if Steam user name is set
env:
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ env.STEAM_USERNAME == '' }}
run: |
echo "Steam user name is not set"
gh run cancel ${{ github.run_id }}

- name: Download Windows Build
uses: robinraju/release-downloader@v1
Expand Down

0 comments on commit f293ae6

Please sign in to comment.