glitch-in-the-system/.github/workflows/build.yml

43 lines
1.1 KiB
YAML
Raw Normal View History

name: Build & Publish
2019-12-28 03:26:41 +01:00
on:
release:
types:
- created
jobs:
Build:
runs-on: ubuntu-latest
strategy:
matrix:
platform: [linux, windows, mac]
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
- name: Build
id: build
2020-02-01 20:15:49 +01:00
uses: josephbmanley/build-godot-action@v1.3.2
with:
name: glitchinthesystem
preset: ${{ matrix.platform }}
subdirectory: gits
- name: GitHub Release Artifact
uses: josephbmanley/upload-to-release@feature/remoteName
with:
args: ${{ steps.build.outputs.artifact }} application/zip ${{ matrix.platform }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Butler Publish
uses: josephbmanley/butler-publish-itchio-action@v1.0.0
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
VERSION: develop
ITCH_USER: joebmanley
ITCH_GAME: glitchinthesystem
CHANNEL: ${{ matrix.platform }}
PACKAGE: ${{ steps.build.outputs.artifact }}