-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (31 loc) · 1.05 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
# Adapted from https://github.com/ProjectAliceDev/renpy-build-action
runs-on: ubuntu-22.04
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Download and extract Renpy
working-directory: ..
run: |
wget https://www.renpy.org/dl/8.2.0/renpy-8.2.0-sdk.tar.bz2 -q
tar -xf renpy-8.2.0-sdk.tar.bz2
rm renpy-8.2.0-sdk.tar.bz2
- name: Build the game
working-directory: ../renpy-8.2.0-sdk
run: |
./renpy.sh launcher distribute $GITHUB_WORKSPACE --package pc --package mac --package linux
- name: Release binaries
uses: svenstaro/upload-release-action@2.7.0
with:
file: ../CarbonWashing-1.0-dists/*
tag: automatic
overwrite: true
file_glob: true
prerelease: true
body: Automatic release of our game. MAY NOT BE WORKING PROPERLY.