Skip to content

Commit 6ee87c5

Browse files
author
Antoine PREVOST
authored
Merge pull request #6 from leo-chartier/main
Merge automatic release action
2 parents cc14717 + 97367a5 commit 6ee87c5

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build.yml

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

0 commit comments

Comments
 (0)