sys: Literally, fuck Valve

This commit is contained in:
WerWolv
2022-11-02 08:24:00 +01:00
parent 948b5b2d9c
commit a6742de405
14 changed files with 6 additions and 65 deletions

View File

@@ -524,65 +524,4 @@ jobs:
with:
name: Fedora ${{ matrix.release }} RPM
path: |
imhex-${{env.IMHEX_VERSION}}-Fedora-${{matrix.release}}.rpm
steam_deploy:
needs: [ win, macos, ubuntu ]
runs-on: ubuntu-latest
name: 🚀 Steam Deployment Nightly
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master'
steps:
- name: 🧰 Checkout
uses: actions/checkout@v3
with:
path: ImHex
- name: 📜 Set version variable
run: |
project_version=`cat ImHex/VERSION`
echo "IMHEX_VERSION=$project_version" >> $GITHUB_ENV
- name: ⬇️ Download Windows Artifact
uses: actions/download-artifact@v3
with:
name: Windows Portable
path: ./steam/windows
- name: ⬇️ Download macOS Artifact
uses: actions/download-artifact@v3
with:
name: macOS Portable
path: ./steam/macos
- name: ⬇️ Download Linux Artifact
uses: actions/download-artifact@v3
with:
name: Linux AppImage
path: ./steam/linux
- name: 🗜️ Setup steam depots
run: |
mv steam/linux/imhex-${{env.IMHEX_VERSION}}.AppImage steam/linux/imhex.AppImage
- name: 🗝️ Generate Steam TOTP
uses: CyberAndrii/steam-totp@v1
id: steam-totp
with:
shared_secret: ${{ secrets.STEAM_SHARED_SECRET }}
- name: 💨 Publish Steam Nightly
uses: game-ci/steam-deploy@main
with:
username: ${{ secrets.STEAM_USERNAME }}
password: ${{ secrets.STEAM_PASSWORD }}
totp: ${{ steps.steam-totp.outputs.code }}
appId: 2186040
buildDescription: v${{ env.IMHEX_VERSION }} - ${{ github.sha }}
rootPath: ./steam
depot1Path: windows
depot2Path: macos
depot3Path: linux
releaseBranch: nightly
imhex-${{env.IMHEX_VERSION}}-Fedora-${{matrix.release}}.rpm