diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index 2f43ee0..25e4641 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -309,19 +309,8 @@ jobs: publish_to_steam: needs: [set_version, build_desktop] runs-on: ubuntu-latest + if: needs.set_version.outputs.STEAM_USERNAME != '' steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 1 - - - 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" - exit 0 - name: Download Windows Build uses: robinraju/release-downloader@v1