haxeui-core push: dont add var if it already exists #1063
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, repository_dispatch] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
haxe-version: [4.3.0, 4.3.1] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Haxe (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
uses: krdlab/setup-haxe@v1 | |
with: | |
haxe-version: ${{ matrix.haxe-version }} | |
- name: Setup app (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
run: | | |
git clone --branch master https://github.com/haxeui/haxeui-core.git --depth=1 | |
haxelib dev haxeui-core haxeui-core | |
git clone --branch master https://github.com/HeapsIO/heaps.git | |
haxelib dev heaps heaps | |
haxelib install hlsdl | |
mkdir res | |
- name: Build app (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
run: | | |
cp .github/workflows/build.hxml build.hxml | |
haxelib install build.hxml --always --quiet | |
haxe build.hxml |