2019-12-21 02:30:29 +01:00
|
|
|
name: Build & Publish
|
2019-11-29 21:59:51 +01:00
|
|
|
|
2019-12-28 03:26:41 +01:00
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types:
|
|
|
|
- created
|
2019-11-29 21:59:51 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
Build:
|
|
|
|
runs-on: ubuntu-latest
|
2019-12-21 02:30:29 +01:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
platform: [linux, windows, mac]
|
2019-11-29 21:59:51 +01:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v1
|
2020-02-01 20:15:49 +01:00
|
|
|
- name: Update Version
|
|
|
|
id: semver
|
|
|
|
uses: RightBrain-Networks/semver-action@1.0.0
|
|
|
|
with:
|
|
|
|
mode: get
|
2019-12-21 02:30:29 +01:00
|
|
|
- name: Build
|
|
|
|
id: build
|
2020-02-01 20:15:49 +01:00
|
|
|
uses: josephbmanley/build-godot-action@v1.3.2
|
2019-12-21 02:30:29 +01:00
|
|
|
with:
|
|
|
|
name: glitchinthesystem
|
|
|
|
preset: ${{ matrix.platform }}
|
|
|
|
subdirectory: gits
|
|
|
|
- name: GitHub Release Artifact
|
|
|
|
uses: josephbmanley/upload-to-release@feature/remoteName
|
2019-11-29 21:59:51 +01:00
|
|
|
with:
|
2019-12-21 02:30:29 +01:00
|
|
|
args: ${{ steps.build.outputs.artifact }} application/zip ${{ matrix.platform }}.zip
|
2019-11-29 21:59:51 +01:00
|
|
|
env:
|
2019-12-21 02:30:29 +01:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Butler Publish
|
2019-11-29 21:59:51 +01:00
|
|
|
uses: josephbmanley/butler-publish-itchio-action@v1.0.0
|
|
|
|
env:
|
|
|
|
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
|
|
|
|
VERSION: develop
|
|
|
|
ITCH_USER: joebmanley
|
|
|
|
ITCH_GAME: glitchinthesystem
|
2019-12-21 02:30:29 +01:00
|
|
|
CHANNEL: ${{ matrix.platform }}
|
|
|
|
PACKAGE: ${{ steps.build.outputs.artifact }}
|