examples: Add example for FB_RPC_Dynamic #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI/CD | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'rplc/**' | |
- 'examples/**' | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build rplc | |
uses: Zeugwerk/[email protected] | |
with: | |
username: ${{ secrets.ACTIONS_ZGWK_USERNAME }} | |
password: ${{ secrets.ACTIONS_ZGWK_PASSWORD }} | |
- name: Upload *.library | |
uses: actions/upload-artifact@v4 | |
with: | |
name: rplc | |
path: | | |
**/*.compiled-library | |
**/*.library | |
cd: | |
name: CD | |
needs: ci | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
runs-on: windows-latest | |
steps: | |
- uses: actions/download-artifact@v4 | |
id: download-rplc | |
with: | |
name: rplc | |
- uses: Zeugwerk/[email protected] | |
with: | |
username: ${{ secrets.ACTIONS_ZGWK_USERNAME }} | |
password: ${{ secrets.ACTIONS_ZGWK_PASSWORD }} | |
path: ${{ steps.download-rplc.outputs.download-path}} |