Files
rpc-bridge/.github/workflows/build.yml
EnderIce2 12cee9b7c0
Some checks failed
Build Project / build (push) Has been cancelled
Deploy Documentation / deploy (push) Has been cancelled
Build Project / Upload Nightly Build to GitHub Releases (push) Has been cancelled
feat: add nightly build upload to GitHub Releases
2025-07-09 21:07:59 +03:00

55 lines
1.1 KiB
YAML

name: Build Project
on:
push:
branches: [ "master" ]
paths-ignore:
- '.github/**'
- '.vscode/**'
- 'docs/**'
- mkdocs.yml
pull_request:
branches: [ "master" ]
paths-ignore:
- '.github/**'
- '.vscode/**'
- 'docs/**'
- mkdocs.yml
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt update && sudo apt -y install gcc-mingw-w64 make
- name: make
run: make
- name: artifact
uses: actions/upload-artifact@v4
with:
name: bridge
path: build
nightly:
name: Upload Nightly Build to GitHub Releases
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Download All Builds
uses: actions/download-artifact@v4
- name: Update Nightly
run: gh release upload nightly bridge/* -R ${{github.repository}} --clobber
env:
GH_TOKEN: ${{ github.token }}