Skip to content

Commit

Permalink
ci on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeriousat committed Nov 25, 2024
1 parent 192aac7 commit 575e5ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CMake build

on: push
on: [push, pull_request]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -70,21 +70,21 @@ jobs:
curl -L https://raw.githubusercontent.com/ossia/score/master/tools/fetch-sdk.sh > fetch-sdk.sh
chmod +x ./fetch-sdk.sh
./fetch-sdk.sh
- name: Setup Codesigning
shell: bash
if: runner.os == 'macOS'
run: |
set +x
security create-keychain -p "$MAC_CODESIGN_KEYCHAIN_PASSWORD" "$MAC_CODESIGN_KEYCHAIN"
security create-keychain -p "$MAC_CODESIGN_KEYCHAIN_PASSWORD" "$MAC_CODESIGN_KEYCHAIN"
security default-keychain -s "$MAC_CODESIGN_KEYCHAIN"
security unlock-keychain -p "$MAC_CODESIGN_KEYCHAIN_PASSWORD" "$MAC_CODESIGN_KEYCHAIN"
echo $MAC_CODESIGN_FILE_B64 | base64 --decode > "$HOME/cert.p12"
security import "$HOME/cert.p12" -k "$MAC_CODESIGN_KEYCHAIN" -P "$MAC_CODESIGN_PASSWORD" -T /usr/bin/codesign > /dev/null 2>&1
security set-key-partition-list -S apple-tool:,apple: -s -k "$MAC_CODESIGN_KEYCHAIN_PASSWORD" "$MAC_CODESIGN_KEYCHAIN" > /dev/null 2>&1
rm -rf "$HOME/cert.p12"
- name: Build debug
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
- name: Combine
shell: bash
run: |
mkdir -p output
find . -name '*.zip' -exec mv {} output/ \;
cd output
Expand All @@ -158,7 +158,7 @@ jobs:
zip -r Heartbeat-max.zip Heartbeat
rm -rf Heartbeat
- name: Upload
- name: Upload
uses: xresloader/upload-to-github-release@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_vs2022.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: VS2022 build

on: push
on: [push, pull_request]

jobs:
build:
Expand Down

0 comments on commit 575e5ca

Please sign in to comment.