Wolfram Language Paclet Repository (Under Development)

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • External Interfaces & Connections
    • Geographic Data & Computation
    • Graphs & Networks
    • Images
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Sound & Video
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
    • Using Paclets
    • Creating Paclets
    • New Definition Notebook
    • Random Paclet
    • Alphabetical List

PacletCICD

Guides

  • ContinuousIntegrationAndDeployment
  • CustomCICDWorkflows
  • Workflows

Symbols

  • BuildPaclet
  • CheckPaclet
  • CreatePublisherToken
  • ExampleDirectory
  • GitHubSecret
  • PublisherTokenObject
  • WorkflowEvaluate
  • WorkflowExport
  • WorkflowJob
  • WorkflowJobQ
  • Workflow
  • WorkflowQ
  • WorkflowStep
  • WorkflowStepQ
  • WorkflowValue

Other

  • ResourcePublisherToken
  • WolframScriptEntitlementID

Tutorials

  • GitHubActionsQuickStart
  • LicenseEntitlementsAndRepositorySecrets
WOLFRAMSCRIPT_ENTITLEMENTID (Environment Variable)
NAME
WOLFRAMSCRIPT_ENTITLEMENTID
— a string corresponding to a
LicenseEntitlementObject
that represents an on-demand license entitlement
EXAMPLES
Getting a Valid Value
Load the PacletCICD package:
In[1]:=
Needs["Wolfram`PacletCICD`"];
Create an entitlement using
CreateLicenseEntitlement
:
In[2]:=
entitlement=CreateLicenseEntitlement[]
Out[2]=
LicenseEntitlementObject
Entitlement ID:
O-WSDS-97A1-PZVXDPT••••••
Standard kernel limit: 1 (kernel cost:
2.
credits/h
)

Click to copy the token string from the output above, or extract it from the
PublisherTokenObject
:
In[3]:=
string=entitlement["EntitlementID"]
Out[3]=
O-WSDS-97A1-PZVXDPTWC9WVG
Copy it to the clipboard for the remaining examples:
In[4]:=
CopyToClipboard[string]
Using in a GitHub Workflow
Visit the following URL (replacing {user} and {repo} to match your repository) to define a repository secret:
https://github.com/{user}/{repo}/settings/secrets/actions
Click the "New repository secret" button at the top-right:
Use "WOLFRAMSCRIPT_ENTITLEMENTID" as the name, and paste in the entitlement string as the value, then click the "Add secret" button:
By default, workflows will automatically set the WOLFRAMSCRIPT_ENTITLEMENTID environment variable using the GitHub secret of the same name:
In[7]:=
workflow=
Workflow
["Submit"]
Out[7]=
Workflow
Name: Submit
Jobs: 1

In[8]:=
workflow["Data"]["jobs","Submit","env"]
Out[8]=
WOLFRAM_SYSTEM_IDLinux-x86-64,WOLFRAMSCRIPT_ENTITLEMENTID${{ secrets.WOLFRAMSCRIPT_ENTITLEMENTID }},RESOURCE_PUBLISHER_TOKEN${{ secrets.RESOURCE_PUBLISHER_TOKEN }}
▪
Wolfram Language Scripts
CreatePublisherToken
 ▪
PublisherTokenObject
 ▪
GitHubSecret
 ▪
Workflow
 ▪
WorkflowJob
 ▪
WorkflowStep
 ▪
SetEnvironment
 ▪
Environment
▪
Standalone Wolfram System Kernels
""

Powered by the Wolfram Cloud More about Wolfram Technology

© 2022 Wolfram Research, Inc. All rights reserved. Terms of Use Privacy Contact Us