Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 41 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release to GitHub
name: Release

on: workflow_dispatch

Expand Down Expand Up @@ -99,6 +99,11 @@ jobs:
versioning: Custom
version: ${{ needs.release.outputs.version }}
buildMethod: Editor.BuildScript.Build
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Build-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
- name: Create zip archive
run: |
cd build/${{ matrix.targetPlatform }}
Expand All @@ -117,3 +122,38 @@ jobs:
name,
data: require("fs").readFileSync("artifact.zip"),
});
steam:
name: Deploy to Steam
needs: [ build ]
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Download StandaloneWindows64 Artifact
uses: actions/download-artifact@v3
with:
name: Build-StandaloneWindows64
path: build/StandaloneWindows64
- name: Download StandaloneLinux64 Artifact
uses: actions/download-artifact@v3
with:
name: Build-StandaloneLinux64
path: build/StandaloneLinux64
- name: Download StandaloneOSX Artifact
uses: actions/download-artifact@v3
with:
name: Build-StandaloneOSX
path: build/StandaloneOSX
- uses: game-ci/steam-deploy@v3
with:
username: ${{ secrets.STEAM_USERNAME }}
configVdf: ${{ secrets.STEAM_CONFIG_VDF}}
appId: ${{ secrets.STEAM_APP_ID }}
buildDescription: v${{ needs.build.outputs.buildVersion }}
rootPath: build
depot1Path: StandaloneWindows64
depot2Path: StandaloneLinux64
depot3Path: StandaloneOSX
releaseBranch: prerelease
96 changes: 0 additions & 96 deletions .github/workflows/steam.yml

This file was deleted.