From 8474121037a0d90826d52e99f25daf7e2b7376fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Rom=C3=A1n=20N=C3=BA=C3=B1ez?= Date: Sat, 19 Sep 2026 19:19:43 +0200 Subject: [PATCH] Deploy production Linux builds to Steam --- .gitea/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f595c8e..f28aace 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -97,3 +97,31 @@ jobs: - name: Verify production binary is not Bevy/Rust dynamically linked run: | ! readelf -d target/production/shinespark | grep -E 'libbevy_dylib|libstd-.*\.so' + + - name: Package Linux Steam depot + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + run: | + mkdir -p build/linux + cp target/production/shinespark build/linux/shinespark + cp -R assets build/linux/assets + cp -R imported_assets build/linux/imported_assets + + - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + uses: CyberAndrii/steam-totp@v1 + name: Generate Steam TOTP + id: steam-totp + with: + shared_secret: ${{ secrets.STEAM_SHARED_SECRET }} + + - name: Deploy Linux build to Steam + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + uses: game-ci/steam-deploy@v3 + with: + username: ${{ secrets.STEAM_USERNAME }} + password: ${{ secrets.STEAM_PASSWORD }} + totp: ${{ steps.steam-totp.outputs.code }} + appId: 3409670 + buildDescription: ${{ github.sha }} + rootPath: build + depot1Path: linux + releaseBranch: master -- 2.54.0