mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-26 15:07:14 +00:00
Merge branch 'master' of https://github.com/ninjamuffin99/funkin-secret
This commit is contained in:
commit
f72a5b6c8b
10
.github/actions/setup-haxeshit/action.yml
vendored
10
.github/actions/setup-haxeshit/action.yml
vendored
|
@ -3,9 +3,9 @@ description: "sets up haxe shit, using HMM!"
|
|||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: krdlab/setup-haxe@v1.1.6
|
||||
- uses: krdlab/setup-haxe@v1.4.0
|
||||
with:
|
||||
haxe-version: 4.2.4
|
||||
haxe-version: 4.2.5
|
||||
- name: Config haxelib
|
||||
run: |
|
||||
haxelib config
|
||||
|
@ -13,6 +13,6 @@ runs:
|
|||
- name: Installing Haxe lol
|
||||
run: |
|
||||
haxe -version
|
||||
haxelib --global install hmm
|
||||
haxelib --global run hmm install --quiet
|
||||
shell: bash
|
||||
haxelib install hmm
|
||||
haxelib run hmm install --quiet
|
||||
shell: bash
|
||||
|
|
59
.github/workflows/build-shit.yml
vendored
59
.github/workflows/build-shit.yml
vendored
|
@ -1,11 +1,12 @@
|
|||
name: build-upload
|
||||
on:
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '30 17 * * *'
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
check_date:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -44,6 +45,17 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/setup-haxeshit
|
||||
- name: Restore existing build cache for faster compilation
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
# wha?
|
||||
key: cache-build-win
|
||||
path: |
|
||||
.haxelib/
|
||||
export/debug/windows/haxe/
|
||||
export/debug/windows/obj/
|
||||
restore-keys: |
|
||||
cache-build-mac
|
||||
- name: Build game
|
||||
run: |
|
||||
haxelib run lime build windows -debug --times
|
||||
|
@ -53,38 +65,13 @@ jobs:
|
|||
butler-key: ${{ secrets.BUTLER_API_KEY}}
|
||||
build-dir: export/debug/windows/bin
|
||||
target: win
|
||||
create-nightly-mac:
|
||||
needs: check_date
|
||||
if: ${{ needs.check_date.outputs.should_run != 'false'}}
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/setup-haxeshit
|
||||
- name: Build game?
|
||||
run: |
|
||||
haxelib run lime build mac -debug --times
|
||||
ls
|
||||
- uses: ./.github/actions/upload-itch
|
||||
- name: Uploading new cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
butler-key: ${{ secrets.BUTLER_API_KEY}}
|
||||
build-dir: export/debug/macos/bin
|
||||
target: mac
|
||||
create-nightly-linux:
|
||||
needs: check_date
|
||||
if: ${{ needs.check_date.outputs.should_run != 'false'}}
|
||||
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 --times
|
||||
ls
|
||||
- uses: ./.github/actions/upload-itch
|
||||
with:
|
||||
butler-key: ${{ secrets.BUTLER_API_KEY}}
|
||||
build-dir: export/debug/linux/bin
|
||||
target: linux
|
||||
key: cache-build-win
|
||||
path: |
|
||||
.haxelib/
|
||||
export/debug/macos/haxe/
|
||||
export/debug/macos/obj/
|
||||
restore-keys: |
|
||||
cache-build-debug
|
||||
|
|
Loading…
Reference in a new issue