https://github.com/miRoox/wolfram-action
GitHub action to run Wolfram language code [Deprecated]
https://github.com/miRoox/wolfram-action
github-actions wolfram-language
Last synced: about 1 year ago
JSON representation
GitHub action to run Wolfram language code [Deprecated]
- Host: GitHub
- URL: https://github.com/miRoox/wolfram-action
- Owner: miRoox
- License: mit
- Created: 2019-12-23T10:53:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-04T15:17:47.000Z (over 4 years ago)
- Last Synced: 2025-04-23T11:50:23.915Z (over 1 year ago)
- Topics: github-actions, wolfram-language
- Language: Mathematica
- Homepage: https://github.com/marketplace/actions/github-action-for-wolfram-language
- Size: 73.2 KB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wolfram action
[](https://github.com/miRoox/wolfram-action/actions)
**Deprecated, suggest to use the workflows based on the on-demand license entitlements, see details on [WolframResearch/WL-FunctionCompile-CI-Template](https://github.com/WolframResearch/WL-FunctionCompile-CI-Template).**
GitHub action to run Wolfram language code.
It runs in [a docker image](https://hub.docker.com/repository/docker/miroox/wolfram-engine-docker) with a [Wolfram Engine](https://www.wolfram.com/engine/) installed.
## Inputs
### `file`
**Required** The script file to run.
### `args`
The extra arguments to be passed to the script.
## Authentication
You need `WOLFRAM_ID` and `WOLFRAM_PASS` environment variables to activate the [Wolfram Engine](https://www.wolfram.com/engine/) and authenticate the [Wolfram Cloud](https://www.wolframcloud.com/), see [Creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) for using encrypted secrets in your workflow.
### `WOLFRAM_ID`
**Required** Your Wolfram ID.
### `WOLFRAM_PASS`
**Required** Your Wolfram ID password.
## Example usage
```yaml
on: [push]
jobs:
run_wolfram:
name: Run Wolfram language code
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Run Wolfram script
uses: miRoox/wolfram-action@master
with:
file: script.wl
env:
WOLFRAM_ID: ${{ secrets.WolframID }}
WOLFRAM_PASS: ${{ secrets.WolframPW }}
```