load-test-v01
This commit is contained in:
parent
b7836361d9
commit
f471455dab
|
@ -34,7 +34,7 @@ on:
|
|||
required: false
|
||||
|
||||
jobs:
|
||||
package:
|
||||
game-load-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: apt-get update
|
||||
|
@ -54,63 +54,5 @@ jobs:
|
|||
|
||||
# Create artifacts
|
||||
|
||||
- name: Creating binaries
|
||||
run: fish ${{ github.workspace }}/assemble release
|
||||
|
||||
# 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 }}
|
||||
|
||||
- name: Trying to start game
|
||||
run: fish ${{ github.workspace }}/assemble
|
||||
|
|
Loading…
Reference in New Issue
Block a user