Funkin/.github/workflows/build-shit.yml
Cameron Taylor 3918abe8a1 ANOTHER REBASE CLEAN CLEAN
revert commit lol?

action seperating hehe

directory fix?

runs / compsite action fix

shell bash fix? lol

seperate out the butler/itchio stuff

took out nasty env thingie in the action

butler api key fix perhaps?

lol target woops

linux build easy?

mac yolo test?

moved all to one main github workflow, and better butler downloading

rename the workflow lol

better if statement maybe?

oops fixed indentation lol!

missing shell, im dumb!!

mac fix and maybe even windows?

hmm fix perhaps

dont need the HMM setup actually?

REBASE / SQUASH STUFF LOL
windows linux butler installing?

haxelib caching?

cache fix lol?

actual cache fix... lol

ok i am getting trolled....

actual hashfile, woops

hopefully cache fix, and no more "clean" builds

added workflow dispatch too

better workflow_dispatch thing?

NO CACHE BULLSHIT

ok actually maybe cache?

idk some shit with syntax

ok no more cache...

just cache the haxelib stuff

format fix teehee
2022-05-18 23:45:06 -04:00

63 lines
1.8 KiB
YAML

name: build-upload
on: [push, workflow_dispatch]
jobs:
create-nightly-html5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-haxeshit
- name: Build game?
run: |
haxelib run lime build html5 -debug
ls
- uses: ./.github/actions/upload-itch
with:
butler-key: ${{ secrets.BUTLER_API_KEY}}
build-dir: export/debug/html5/bin
target: html5
create-nightly-win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-haxeshit
- name: Build game
run: |
haxelib run lime build windows -debug
dir
- uses: ./.github/actions/upload-itch
with:
butler-key: ${{ secrets.BUTLER_API_KEY}}
build-dir: export/debug/windows/bin
target: win
create-nightly-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-haxeshit
- name: Build game?
run: |
haxelib run lime build mac -debug
ls
- uses: ./.github/actions/upload-itch
with:
butler-key: ${{ secrets.BUTLER_API_KEY}}
build-dir: export/debug/macos/bin
target: mac
create-nightly-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-haxeshit
- name: Setting up Linux
run: |
haxelib run lime setup linux
- name: Build game?
run: |
haxelib run lime build linux -debug
ls
- uses: ./.github/actions/upload-itch
with:
butler-key: ${{ secrets.BUTLER_API_KEY}}
build-dir: export/debug/linux/bin
target: linux