Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ name: CI
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -17,6 +15,7 @@ on:
jobs:
build:
strategy:
fail-fast: false # Makes it so if one build fails, the others aren't cancelled
matrix:
os: [windows, ubuntu, macos]

Expand Down Expand Up @@ -97,7 +96,7 @@ jobs:
-platform default library.swf

- name: Install the Apple certificate and provisioning profile
if: runner.os == 'macOS'
if: runner.os == 'macOS' && github.event_name != 'pull_request'
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
Expand All @@ -121,7 +120,7 @@ jobs:
security list-keychain -d user -s $KEYCHAIN_PATH

- name: Build (macOS)
if: runner.os == 'macOS'
if: runner.os == 'macOS' && github.event_name != 'pull_request'
run: |
mkdir SteamSDK/public
cp -r SteamSDK/steam SteamSDK/public
Expand All @@ -130,16 +129,15 @@ jobs:
export FLEX_SDK=$AIR_HOME
export STEAM_SDK=$GITHUB_WORKSPACE/SteamSDK

mkdir ~/SDKS
cp -r $AIR_HOME ~/SDKS/AIRSDK
cp -r $STEAM_SDK ~/SDKS/SteamSDK

touch lib/bin/FRESteamworks-64.dll
touch lib/bin/FRESteamworks.dll
touch lib/bin/FRESteamworks.so

cd src

mkdir ../../SDKS
cp -r $AIR_HOME ../../SDKS/AIRSDK
cp -r $STEAM_SDK ../../SDKS/SteamSDK

xcodebuild -project FRESteamWorks.xcodeproj

- uses: actions/upload-artifact@v4
Expand Down
Loading