Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanSantiagoYT authored Jul 26, 2024
1 parent 432e142 commit e76702c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ on:
pull_request:
branches: [ main ]

# For release builds
workflow_call:
inputs:
buildFlags:
required: false
type: string

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down Expand Up @@ -48,7 +55,7 @@ jobs:
- name: Create Version Tag
run: echo "${{github.run_id}}" > VERSION
- name: Compile
run: haxelib run lime build linux
run: haxelib run lime build linux --app-version="4.0.0-${{ github.run_id}}" -D ${{ inputs.buildFlags }}
- name: Clear Previous Cache
uses: actions/github-script@main
with:
Expand Down Expand Up @@ -119,7 +126,7 @@ jobs:
- name: Create Version Tag
run: echo "${{github.run_id}}" > VERSION
- name: Compile
run: haxelib run lime build windows
run: haxelib run lime build windows --app-version="4.0.0-${{ github.run_id}}" -D ${{ inputs.buildFlags }}
- name: Clear Previous Cache
uses: actions/github-script@main
with:
Expand Down Expand Up @@ -189,7 +196,7 @@ jobs:
- name: Create Version Tag
run: echo "${{github.run_id}}" > VERSION
- name: Compile
run: haxelib run lime build mac
run: haxelib run lime build mac --app-version="4.0.0-${{ github.run_id}}" -D ${{ inputs.buildFlags }}
- name: Clear Previous Cache
uses: actions/github-script@main
with:
Expand Down

0 comments on commit e76702c

Please sign in to comment.