Merge pull request #11 from HiNett/script #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |