kopia lustrzana https://github.com/cirospaciari/socketify.py
19 wiersze
774 B
YAML
19 wiersze
774 B
YAML
name: MacOS Build
|
|
on: workflow_dispatch
|
|
jobs:
|
|
build-macos:
|
|
runs-on: macos-11.0
|
|
name: Build on darwin-amd64 + darwin-arm64
|
|
steps:
|
|
- name: Update binaries
|
|
run: |
|
|
git clone --recursive https://github.com/cirospaciari/socketify.py.git
|
|
cd socketify.py/src/socketify/native
|
|
make macos
|
|
cd ../
|
|
git add libsocketify_darwin_amd64.so
|
|
git add libsocketify_darwin_arm64.so
|
|
git config --global user.email "ciro.spaciari@gmail.com"
|
|
git config --global user.name "Ciro Spaciari"
|
|
git commit -m "[GitHub Actions] Updated darwin-amd64 + darwin-arm64 binaries" || true
|
|
git push "https://cirospaciari:${{ secrets.BUILDTOKEN }}@github.com/cirospaciari/socketify.py.git" |