Add error message for invalid prompt generator #659
Workflow file for this run
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: Build | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main, release/paclet] | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
RESOURCE_PUBLISHER_TOKEN: ${{ secrets.RESOURCE_PUBLISHER_TOKEN }} | |
WOLFRAMSCRIPT_ENTITLEMENTID: ${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }} | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
jobs: | |
Build: | |
name: Build | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
container: | |
image: wolframresearch/wolframengine:14.1 | |
options: --user root | |
env: | |
WOLFRAM_SYSTEM_ID: Linux-x86-64 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
run: wolframscript -f Scripts/BuildPaclet.wls | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
path: ${{ env.PACLET_BUILD_DIR }} | |
- name: Install Test Dependencies | |
run: | | |
apt-get update && apt-get install libgomp1 -y | |
wolframscript -f Scripts/InstallTestDependencies.wls | |
- name: Test | |
run: wolframscript -f Scripts/TestPaclet.wls | |
- name: Upload Stack Data | |
if: always() && env.PACLET_STACK_HISTORY | |
uses: actions/upload-artifact@v4 | |
with: | |
name: StackData | |
path: ${{ env.PACLET_STACK_HISTORY }} | |
retention-days: 1 | |
if-no-files-found: error |