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:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
- name: 📜 Set version variable
|
||||||
|
run: |
|
||||||
|
echo "IMHEX_VERSION=`cat VERSION`" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 📜 Setup ccache
|
- name: 📜 Setup ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
id: cache-ccache
|
id: cache-ccache
|
||||||
@ -120,20 +124,15 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
build/install/*
|
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
|
- name: 💨 Publish Steam Nightly
|
||||||
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master'
|
||||||
uses: WerWolv/steam-deploy@main
|
uses: WerWolv/steam-deploy@main
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.STEAM_USERNAME }}
|
username: ${{ secrets.STEAM_USERNAME }}
|
||||||
password: ${{ secrets.STEAM_PASSWORD }}
|
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
|
appId: 2186040
|
||||||
buildDescription: v${{ env.IMHEX_VERSION }} - ${{ github.sha }}
|
buildDescription: v${{ env.IMHEX_VERSION }} - ${{ github.sha }}
|
||||||
rootPath: build
|
rootPath: build
|
||||||
@ -248,20 +247,15 @@ jobs:
|
|||||||
name: macOS DMG${{matrix.suffix}}
|
name: macOS DMG${{matrix.suffix}}
|
||||||
path: build/*.dmg
|
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
|
- name: 💨 Publish Steam Nightly
|
||||||
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master' && !matrix.custom_glfw
|
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master' && !matrix.custom_glfw
|
||||||
uses: WerWolv/steam-deploy@main
|
uses: WerWolv/steam-deploy@main
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.STEAM_USERNAME }}
|
username: ${{ secrets.STEAM_USERNAME }}
|
||||||
password: ${{ secrets.STEAM_PASSWORD }}
|
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
|
appId: 2186040
|
||||||
buildDescription: v${{ env.IMHEX_VERSION }} - ${{ github.sha }}
|
buildDescription: v${{ env.IMHEX_VERSION }} - ${{ github.sha }}
|
||||||
rootPath: build
|
rootPath: build
|
||||||
@ -370,7 +364,7 @@ jobs:
|
|||||||
appimage-builder --recipe ../dist/AppImageBuilder.yml
|
appimage-builder --recipe ../dist/AppImageBuilder.yml
|
||||||
cd ..
|
cd ..
|
||||||
mkdir AppImage
|
mkdir AppImage
|
||||||
find . -name "*.AppImage" -exec cp '{}' AppImage/ \;
|
find . -name "*.AppImage" -exec cp '{}' AppImage/imhex.AppImage \;
|
||||||
|
|
||||||
#- name: ⬆️ Upload Flatpak
|
#- name: ⬆️ Upload Flatpak
|
||||||
# uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
@ -397,20 +391,15 @@ jobs:
|
|||||||
name: Linux AppImage zsync
|
name: Linux AppImage zsync
|
||||||
path: 'build-appimage/*.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
|
- name: 💨 Publish Steam Nightly
|
||||||
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.repository == 'WerWolv/ImHex' && github.ref == 'refs/heads/master'
|
||||||
uses: WerWolv/steam-deploy@main
|
uses: WerWolv/steam-deploy@main
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.STEAM_USERNAME }}
|
username: ${{ secrets.STEAM_USERNAME }}
|
||||||
password: ${{ secrets.STEAM_PASSWORD }}
|
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
|
appId: 2186040
|
||||||
buildDescription: v${{ env.IMHEX_VERSION }} - ${{ github.sha }}
|
buildDescription: v${{ env.IMHEX_VERSION }} - ${{ github.sha }}
|
||||||
rootPath: AppImage
|
rootPath: AppImage
|
||||||
|
Loading…
Reference in New Issue
Block a user