git: Fix more issues with the Steam Deployment
This commit is contained in:
parent
24c0cc10a1
commit
6aad609a48
39
.github/workflows/build.yml
vendored
39
.github/workflows/build.yml
vendored
@ -28,6 +28,10 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: 📜 Set version variable
|
||||
run: |
|
||||
echo "IMHEX_VERSION=`cat VERSION`" >> $GITHUB_ENV
|
||||
|
||||
- name: 📜 Setup ccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
id: cache-ccache
|
||||
@ -120,20 +124,15 @@ jobs:
|
||||
path: |
|
||||
build/install/*
|
||||
|
||||
- name: 🗝️ Generate Steam TOTP
|
||||
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master'
|
||||
uses: CyberAndrii/steam-totp@v1
|
||||
id: steam-totp
|
||||
with:
|
||||
shared_secret: ${{ secrets.STEAM_SHARED_SECRET }}
|
||||
|
||||
- name: 💨 Publish Steam Nightly
|
||||
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master'
|
||||
uses: WerWolv/steam-deploy@main
|
||||
with:
|
||||
username: ${{ secrets.STEAM_USERNAME }}
|
||||
password: ${{ secrets.STEAM_PASSWORD }}
|
||||
totp: ${{ steps.steam-totp.outputs.code }}
|
||||
configVdf: ${{ secrets.STEAM_CONFIG_VDF}}
|
||||
ssfnFileName: ${{ secrets.STEAM_SSFN_FILE_NAME }}
|
||||
ssfnFileContents: ${{ secrets.STEAM_SSFN_FILE_CONTENTS }}
|
||||
appId: 2186040
|
||||
buildDescription: v${{ env.IMHEX_VERSION }} - ${{ github.sha }}
|
||||
rootPath: build
|
||||
@ -248,20 +247,15 @@ jobs:
|
||||
name: macOS DMG${{matrix.suffix}}
|
||||
path: build/*.dmg
|
||||
|
||||
- name: 🗝️ Generate Steam TOTP
|
||||
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master' && !matrix.custom_glfw
|
||||
uses: CyberAndrii/steam-totp@v1
|
||||
id: steam-totp
|
||||
with:
|
||||
shared_secret: ${{ secrets.STEAM_SHARED_SECRET }}
|
||||
|
||||
- name: 💨 Publish Steam Nightly
|
||||
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master' && !matrix.custom_glfw
|
||||
uses: WerWolv/steam-deploy@main
|
||||
with:
|
||||
username: ${{ secrets.STEAM_USERNAME }}
|
||||
password: ${{ secrets.STEAM_PASSWORD }}
|
||||
totp: ${{ steps.steam-totp.outputs.code }}
|
||||
configVdf: ${{ secrets.STEAM_CONFIG_VDF}}
|
||||
ssfnFileName: ${{ secrets.STEAM_SSFN_FILE_NAME }}
|
||||
ssfnFileContents: ${{ secrets.STEAM_SSFN_FILE_CONTENTS }}
|
||||
appId: 2186040
|
||||
buildDescription: v${{ env.IMHEX_VERSION }} - ${{ github.sha }}
|
||||
rootPath: build
|
||||
@ -370,7 +364,7 @@ jobs:
|
||||
appimage-builder --recipe ../dist/AppImageBuilder.yml
|
||||
cd ..
|
||||
mkdir AppImage
|
||||
find . -name "*.AppImage" -exec cp '{}' AppImage/ \;
|
||||
find . -name "*.AppImage" -exec cp '{}' AppImage/imhex.AppImage \;
|
||||
|
||||
#- name: ⬆️ Upload Flatpak
|
||||
# uses: actions/upload-artifact@v3
|
||||
@ -397,20 +391,15 @@ jobs:
|
||||
name: Linux AppImage zsync
|
||||
path: 'build-appimage/*.AppImage.zsync'
|
||||
|
||||
- name: 🗝️ Generate Steam TOTP
|
||||
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master'
|
||||
uses: CyberAndrii/steam-totp@v1
|
||||
id: steam-totp
|
||||
with:
|
||||
shared_secret: ${{ secrets.STEAM_SHARED_SECRET }}
|
||||
|
||||
- name: 💨 Publish Steam Nightly
|
||||
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master'
|
||||
uses: WerWolv/steam-deploy@main
|
||||
with:
|
||||
username: ${{ secrets.STEAM_USERNAME }}
|
||||
password: ${{ secrets.STEAM_PASSWORD }}
|
||||
totp: ${{ steps.steam-totp.outputs.code }}
|
||||
configVdf: ${{ secrets.STEAM_CONFIG_VDF}}
|
||||
ssfnFileName: ${{ secrets.STEAM_SSFN_FILE_NAME }}
|
||||
ssfnFileContents: ${{ secrets.STEAM_SSFN_FILE_CONTENTS }}
|
||||
appId: 2186040
|
||||
buildDescription: v${{ env.IMHEX_VERSION }} - ${{ github.sha }}
|
||||
rootPath: AppImage
|
||||
|
Loading…
Reference in New Issue
Block a user