6
0

load-test-v01

This commit is contained in:
Jon Michael Aanes 2024-04-03 23:33:53 +02:00
parent b7836361d9
commit f471455dab
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -34,7 +34,7 @@ on:
required: false required: false
jobs: jobs:
package: game-load-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: apt-get update - run: apt-get update
@ -54,63 +54,5 @@ jobs:
# Create artifacts # Create artifacts
- name: Creating binaries - name: Trying to start game
run: fish ${{ github.workspace }}/assemble release run: fish ${{ github.workspace }}/assemble
# Upload produced artifacts
- name: Uploading artifacts (love)
uses: actions/upload-artifact@v3
with:
name: "${{ github.event.repository.name }}.love"
path: "${{ github.workspace }}/bin/*.love"
if-no-files-found: error
- name: Uploading artifacts (win64)
uses: actions/upload-artifact@v3
with:
name: "${{ github.event.repository.name }}-win64.zip"
path: "${{ github.workspace }}/bin/*-win64.zip"
if-no-files-found: error
# Determine files
- name: Finding love
id: findfiles
run: |
echo "love="$(ls bin/*.love) >> "$GITHUB_OUTPUT"
echo "win64="$(ls bin/*-win64.zip) >> "$GITHUB_OUTPUT"
# Upload to itch
- uses: KikimoraGames/itch-publish@v0.0.3
if: always() && github.event_name == 'release' && inputs.ITCH_GAME_ID
with:
butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
gameData: ${{ steps.findfiles.outputs.love }}
itchUsername: ${{ inputs.ITCH_USERNAME }}
itchGameId: ${{ inputs.ITCH_GAME_ID }}
buildChannel: love-linux-mac
- uses: KikimoraGames/itch-publish@v0.0.3
if: always() && github.event_name == 'release' && inputs.ITCH_GAME_ID
with:
butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
gameData: ${{ steps.findfiles.outputs.win64 }}
itchUsername: ${{ inputs.ITCH_USERNAME }}
itchGameId: ${{ inputs.ITCH_GAME_ID }}
buildChannel: win64
# Upload to steam
- uses: game-ci/steam-deploy@v3
if: always() && github.event_name == 'release' && inputs.STEAM_APP_ID
with:
username: ${{ secrets.STEAM_USERNAME }}
configVdf: ${{ secrets.STEAM_CONFIG_VDF }}
appId: ${{ inputs.STEAM_APP_ID }}
buildDescription: ${{ inputs.VERSION }}
rootPath: bin
#depot1Path: StandaloneWindows64
depot2Path: build-win64
releaseBranch: ${{ secrets.STEAM_RELEASE_BRANCH }}