kopia lustrzana https://github.com/cirospaciari/socketify.py
24 wiersze
892 B
YAML
24 wiersze
892 B
YAML
name: Build
|
|
|
|
on: workflow_dispatch
|
|
jobs:
|
|
build-windows:
|
|
runs-on: windows-latest
|
|
name: Build on windows-amd64
|
|
steps:
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
- uses: ilammy/setup-nasm@v1.2.1
|
|
- name: Update binaries
|
|
run: |
|
|
$ErrorActionPreference = 'SilentlyContinue'
|
|
git clone -b workflows-test --recursive https://github.com/cirospaciari/socketify.py.git
|
|
cd socketify.py/src/socketify/native
|
|
Make.bat
|
|
cd ../
|
|
git add libsocketify_windows_amd64.dll
|
|
git add uv.dll
|
|
git config --global user.email "ciro.spaciari@gmail.com"
|
|
git config --global user.name "Ciro Spaciari"
|
|
git commit -a -m "[GitHub Actions] Updated windows-amd64 binaries" || true
|
|
git push "https://cirospaciari:${{ secrets.BUILDTOKEN }}@github.com/cirospaciari/socketify.py.git" workflows-test
|