Merge branch 'activity4' of https://gitea.zuzu.red/EthanPisani/StellarXipher into activity4
All checks were successful
Build project / Build for (StandaloneLinux64, 6000.0.37f1) (push) Successful in 27m7s
Build project / Build for (StandaloneWindows64, 6000.0.37f1) (push) Successful in 20m31s
Build project / Publish to itch.io (StandaloneLinux64) (push) Successful in 14s
Build project / Publish to itch.io (StandaloneWindows64) (push) Successful in 15s
All checks were successful
Build project / Build for (StandaloneLinux64, 6000.0.37f1) (push) Successful in 27m7s
Build project / Build for (StandaloneWindows64, 6000.0.37f1) (push) Successful in 20m31s
Build project / Publish to itch.io (StandaloneLinux64) (push) Successful in 14s
Build project / Publish to itch.io (StandaloneWindows64) (push) Successful in 15s
edit build
This commit is contained in:
commit
70b05908be
@ -34,17 +34,12 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
- name: Clean Library and Build folder
|
- name: Cache Unity Library (Speeds up builds)
|
||||||
run: |
|
uses: actions/cache@v3
|
||||||
rm -rf Library
|
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
|
||||||
with:
|
with:
|
||||||
path: Library
|
path: Library
|
||||||
key: Library-${{ matrix.unityVersion }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
|
key: Library-${{ matrix.targetPlatform }}
|
||||||
restore-keys: |
|
restore-keys: Library-
|
||||||
Library-${{ matrix.unityVersion }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
|
|
||||||
Library-
|
|
||||||
|
|
||||||
- name: Debug - List project files
|
- name: Debug - List project files
|
||||||
run: |
|
run: |
|
||||||
@ -113,7 +108,7 @@ jobs:
|
|||||||
sha256sum: false
|
sha256sum: false
|
||||||
|
|
||||||
publishToItch:
|
publishToItch:
|
||||||
name: Publish itch.io
|
name: Publish to itch.io
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: buildForAllSupportedPlatforms
|
needs: buildForAllSupportedPlatforms
|
||||||
strategy:
|
strategy:
|
||||||
@ -124,14 +119,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Copy build zip to current directory
|
- name: Copy build zip to current directory
|
||||||
run: |
|
run: |
|
||||||
ls /tmp/zipped_builds
|
cp /tmp/zipped_builds/build_${{ matrix.targetPlatform }}.zip ./
|
||||||
|
|
||||||
- name: Publish to itch.io
|
- name: Publish to itch.io
|
||||||
uses: KikimoraGames/itch-publish@v0.0.3
|
run: |
|
||||||
with:
|
export BUTLER_API_KEY=${{ secrets.BUTLER_API_KEY }}
|
||||||
butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
|
versionArgument=""
|
||||||
gameData: /tmp/zipped_builds/build_${{ matrix.targetPlatform }}.zip
|
if [ "${{ needs.buildForAllSupportedPlatforms.outputs.tag.name }}" != "" ]; then
|
||||||
itchUsername: ${{ env.ITCH_USERNAME }}
|
versionArgument="--userversion ${{ needs.buildForAllSupportedPlatforms.outputs.tag.name }}"
|
||||||
itchGameId: ${{ env.ITCH_GAME_ID }}
|
fi
|
||||||
buildChannel: ${{ matrix.targetPlatform }}
|
echo "butler push ./build_${{ matrix.targetPlatform }}.zip ${{ env.ITCH_USERNAME }}/${{ env.ITCH_GAME_ID }}:${{ matrix.targetPlatform }} ${versionArgument}"
|
||||||
buildNumber: ${{ needs.buildForAllSupportedPlatforms.outputs.tag.name }}
|
butler push ./build_${{ matrix.targetPlatform }}.zip ${{ env.ITCH_USERNAME }}/${{ env.ITCH_GAME_ID }}:${{ matrix.targetPlatform }} ${versionArgument}
|
||||||
|
Loading…
Reference in New Issue
Block a user