|
70 | 70 | with:
|
71 | 71 | draft: true
|
72 | 72 | files: ${{ env.OUTPUT }}
|
| 73 | + - name: Upload Steam Depot |
| 74 | + uses: actions/upload-artifact@v3 |
| 75 | + with: |
| 76 | + name: steam-win32-depot |
| 77 | + path: | |
| 78 | + './install/release/Endless Sky.exe' |
| 79 | + ./install/release/*.dll |
73 | 80 |
|
74 | 81 |
|
75 | 82 | release_windows_x64:
|
@@ -102,6 +109,13 @@ jobs:
|
102 | 109 | with:
|
103 | 110 | draft: true
|
104 | 111 | files: ${{ env.OUTPUT }}
|
| 112 | + - name: Upload Steam Depot |
| 113 | + uses: actions/upload-artifact@v3 |
| 114 | + with: |
| 115 | + name: steam-win64-depot |
| 116 | + path: | |
| 117 | + './install/release/Endless Sky.exe' |
| 118 | + ./install/release/*.dll |
105 | 119 |
|
106 | 120 |
|
107 | 121 | release_macos_universal:
|
@@ -152,3 +166,84 @@ jobs:
|
152 | 166 | with:
|
153 | 167 | draft: true
|
154 | 168 | files: ${{ env.OUTPUT }}.dmg
|
| 169 | + - name: Prepare Steam Depot |
| 170 | + run: | |
| 171 | + mv "Endless Sky.app/Contents/Resources/endless-sky.icns" . |
| 172 | + rm -rf "Endless Sky.app/Contents/Resources" |
| 173 | + mkdir "Endless Sky.app/Contents/Resources" |
| 174 | + mv endless-sky.icns "Endless Sky.app/Contents/Resources" |
| 175 | + mkdir depot/ |
| 176 | + mv "Endless Sky.app/" depot/ |
| 177 | + - name: Upload Steam Depot |
| 178 | + uses: actions/upload-artifact@v3 |
| 179 | + with: |
| 180 | + name: steam-macos-depot |
| 181 | + path: depot |
| 182 | + |
| 183 | + |
| 184 | + release_steam_linux: |
| 185 | + name: Steam Linux |
| 186 | + runs-on: ubuntu-latest |
| 187 | + strategy: |
| 188 | + matrix: |
| 189 | + arch: [x64, x86] |
| 190 | + steps: |
| 191 | + - uses: actions/checkout@v3 |
| 192 | + - name: Build Endless Sky |
| 193 | + run: | |
| 194 | + cd steam |
| 195 | + docker-compose run steam-${{ matrix.arch }} |
| 196 | + - name: Prepare binary |
| 197 | + run: cp build/steam-${{ matrix.arch }}/endless-sky . |
| 198 | + - name: Upload Steam Depot |
| 199 | + uses: actions/upload-artifact@v3 |
| 200 | + with: |
| 201 | + name: steam-linux${{ matrix.arch == 'x64' && '64' || '32' }}-depot |
| 202 | + path: endless-sky |
| 203 | + |
| 204 | + |
| 205 | + deploy_steam: |
| 206 | + name: Deploy Steam |
| 207 | + needs: [release_steam_linux, release_windows_x64, release_windows_x86, release_macos_universal] |
| 208 | + runs-on: ubuntu-latest |
| 209 | + # environment: steam |
| 210 | + env: |
| 211 | + data: steam-data-depot |
| 212 | + linux32: steam-linux-x86 |
| 213 | + linux64: steam-linux-x64 |
| 214 | + win32: steam-win32 |
| 215 | + win64: steam-win64 |
| 216 | + macos: steam-macos |
| 217 | + steps: |
| 218 | + - uses: actions/checkout@v3 |
| 219 | + - name: Upload Steam Data Depot |
| 220 | + uses: actions/upload-artifact@v3 |
| 221 | + with: |
| 222 | + name: ${{ env.data }} |
| 223 | + path: | |
| 224 | + changelog |
| 225 | + copyright |
| 226 | + credits.txt |
| 227 | + icon.png |
| 228 | + keys.txt |
| 229 | + license.txt |
| 230 | + data/ |
| 231 | + images/ |
| 232 | + sounds/ |
| 233 | + # - uses: game-ci/steam-deploy@v1 |
| 234 | + # with: |
| 235 | + # appId: 404410 |
| 236 | + # buildDescription: canary-${{ github.sha }} |
| 237 | + # username: ${{ secrets.STEAM_DEPLOY_UN }} |
| 238 | + # password: ${{ secrets.STEAM_DEPLOY_PW }} |
| 239 | + # configVdf: ${{ secrets.STEAM_DEPLOY_VDF }} |
| 240 | + # ssfnFileName: ${{ secrets.STEAM_DEPLOY_SSFN_NAME }} |
| 241 | + # ssfnFileContents: ${{ secrets.STEAM_DEPLOY_SSFN }} |
| 242 | + # rootPath: '' |
| 243 | + # depot1Path: ${{ env.data }} |
| 244 | + # depot3Path: ${{ env.win32 }} |
| 245 | + # depot4Path: ${{ env.win64 }} |
| 246 | + # depot5Path: ${{ env.macos }} |
| 247 | + # depot6Path: ${{ env.linux32 }} |
| 248 | + # depot7Path: ${{ env.linux64 }} |
| 249 | + # releaseBranch: canary |
0 commit comments