Files
RustDeskAutomaton/.gitea/workflows/rustdesk-auto-build.yml
Jakub Tucek 472cd9e57c
Some checks failed
rustdesk-auto-build / build-and-publish (push) Has been cancelled
Add scripts for building and managing RustDesk versions
- Implement Build-CustomRustDesk.ps1 to build RustDesk with specified version and configuration.
- Create Get-LastBuiltVersion.ps1 to retrieve the last built version from a state file.
- Add Get-LatestRustDeskVersion.ps1 to fetch the latest version from GitHub releases.
- Develop Invoke-RustDeskPipeline.ps1 to orchestrate the build and deployment process.
- Introduce Publish-Artifacts.ps1 for publishing build artifacts via SMB or SCP.
- Implement Set-LastBuiltVersion.ps1 to update the state file with the last built version.
2026-03-17 14:20:29 +01:00

29 lines
745 B
YAML

name: rustdesk-auto-build
on:
schedule:
- cron: "17 * * * *"
workflow_dispatch:
jobs:
build-and-publish:
runs-on:
- self-hosted
- windows
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run RustDesk automation
shell: pwsh
env:
STATE_FILE_PATH: ${{ vars.STATE_FILE_PATH }}
CONFIG_PATH: ${{ vars.CONFIG_PATH }}
BUILD_OUTPUT_DIR: ${{ vars.BUILD_OUTPUT_DIR }}
BUILDER_COMMAND: ${{ secrets.BUILDER_COMMAND }}
DEPLOY_MODE: ${{ vars.DEPLOY_MODE }}
DESTINATION_PATH: ${{ vars.DESTINATION_PATH }}
SCP_DESTINATION: ${{ vars.SCP_DESTINATION }}
run: |
./scripts/Invoke-RustDeskPipeline.ps1