Wolfram Language
Paclet Repository
(
Under Development
)
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
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
Get Started
Using Paclets
Creating Paclets
New Definition Notebook
Random Paclet
Alphabetical List
PacletCICD
Guides
ContinuousIntegration
AndDeployment
Custom
CICDWorkflows
Workflows
Symbols
Build
Paclet
Check
Paclet
Create
Publisher
Token
Example
Directory
GitHub
Secret
Publisher
Token
Object
Workflow
Evaluate
Workflow
Export
WorkflowJob
WorkflowJob
Q
Workflow
WorkflowQ
Workflow
Step
Workflow
Step
Q
Workflow
Value
Other
Resource
Publisher
Token
WolframScript
EntitlementID
Tutorials
GitHub
Actions
QuickStart
LicenseEntitlementsAnd
RepositorySecrets
RESOURCE_PUBLISHER_TOKEN
(Environment Variable)
NAME
R
E
S
O
U
R
C
E
_
P
U
B
L
I
S
H
E
R
_
T
O
K
E
N
— a string corresponding to a
P
u
b
l
i
s
h
e
r
T
o
k
e
n
O
b
j
e
c
t
that can be used to authenticate some resource system requests
EXAMPLES
Getting a Valid Value
Load the PacletCICD package:
I
n
[
8
]
:
=
N
e
e
d
s
[
"
W
o
l
f
r
a
m
`
P
a
c
l
e
t
C
I
C
D
`
"
]
;
Create a token using
C
r
e
a
t
e
P
u
b
l
i
s
h
e
r
T
o
k
e
n
:
I
n
[
7
]
:
=
t
o
k
e
n
=
C
r
e
a
t
e
P
u
b
l
i
s
h
e
r
T
o
k
e
n
[
"
E
x
a
m
p
l
e
"
]
O
u
t
[
7
]
=
P
u
b
l
i
s
h
e
r
T
o
k
e
n
O
b
j
e
c
t
T
o
k
e
n
:
b
a
j
u
e
u
8
F
g
7
O
p
w
R
J
P
•
•
•
•
•
•
N
a
m
e
:
E
x
a
m
p
l
e
Click to copy the token string from the output above, or extract it from the
P
u
b
l
i
s
h
e
r
T
o
k
e
n
O
b
j
e
c
t
:
I
n
[
8
]
:
=
s
t
r
i
n
g
=
t
o
k
e
n
[
"
T
o
k
e
n
S
t
r
i
n
g
"
]
O
u
t
[
8
]
=
g
2
f
p
E
p
H
B
X
z
5
j
k
8
m
i
z
w
Y
Q
1
T
-
b
V
x
y
U
w
P
c
l
n
f
W
u
H
R
T
q
r
w
k
V
b
-
b
a
j
u
e
u
8
F
g
7
O
p
w
R
J
P
X
P
Q
6
m
F
-
1
Copy it to the clipboard for the remaining examples:
I
n
[
1
3
]
:
=
C
o
p
y
T
o
C
l
i
p
b
o
a
r
d
[
s
t
r
i
n
g
]
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 "RESOURCE_PUBLISHER_TOKEN" as the name, and paste in the token string as the value, then click the "Add secret" button:
By default, workflows will automatically set the RESOURCE_PUBLISHER_TOKEN environment variable using the GitHub secret of the same name:
I
n
[
3
]
:
=
w
o
r
k
f
l
o
w
=
W
o
r
k
f
l
o
w
[
"
S
u
b
m
i
t
"
]
O
u
t
[
3
]
=
W
o
r
k
f
l
o
w
N
a
m
e
:
S
u
b
m
i
t
J
o
b
s
:
1
I
n
[
4
]
:
=
w
o
r
k
f
l
o
w
[
"
D
a
t
a
"
]
[
"
j
o
b
s
"
,
"
S
u
b
m
i
t
"
,
"
e
n
v
"
]
O
u
t
[
4
]
=
W
O
L
F
R
A
M
_
S
Y
S
T
E
M
_
I
D
L
i
n
u
x
-
x
8
6
-
6
4
,
W
O
L
F
R
A
M
S
C
R
I
P
T
_
E
N
T
I
T
L
E
M
E
N
T
I
D
$
{
{
s
e
c
r
e
t
s
.
W
O
L
F
R
A
M
S
C
R
I
P
T
_
E
N
T
I
T
L
E
M
E
N
T
I
D
}
}
,
R
E
S
O
U
R
C
E
_
P
U
B
L
I
S
H
E
R
_
T
O
K
E
N
$
{
{
s
e
c
r
e
t
s
.
R
E
S
O
U
R
C
E
_
P
U
B
L
I
S
H
E
R
_
T
O
K
E
N
}
}
Obtain the value from a different GitHub secret name using
G
i
t
H
u
b
S
e
c
r
e
t
:
I
n
[
1
]
:
=
w
o
r
k
f
l
o
w
=
W
o
r
k
f
l
o
w
"
S
u
b
m
i
t
"
,
"
P
u
b
l
i
s
h
e
r
T
o
k
e
n
"
G
i
t
H
u
b
S
e
c
r
e
t
[
"
M
Y
_
T
O
K
E
N
"
]
O
u
t
[
1
]
=
W
o
r
k
f
l
o
w
N
a
m
e
:
S
u
b
m
i
t
J
o
b
s
:
1
I
n
[
2
]
:
=
w
o
r
k
f
l
o
w
[
"
D
a
t
a
"
]
[
"
j
o
b
s
"
,
"
S
u
b
m
i
t
"
,
"
e
n
v
"
]
O
u
t
[
2
]
=
W
O
L
F
R
A
M
_
S
Y
S
T
E
M
_
I
D
L
i
n
u
x
-
x
8
6
-
6
4
,
W
O
L
F
R
A
M
S
C
R
I
P
T
_
E
N
T
I
T
L
E
M
E
N
T
I
D
$
{
{
s
e
c
r
e
t
s
.
W
O
L
F
R
A
M
S
C
R
I
P
T
_
E
N
T
I
T
L
E
M
E
N
T
I
D
}
}
,
R
E
S
O
U
R
C
E
_
P
U
B
L
I
S
H
E
R
_
T
O
K
E
N
$
{
{
s
e
c
r
e
t
s
.
M
Y
_
T
O
K
E
N
}
}
Publisher tokens cannot be used directly in the workflow, since the resulting workflow file will be publicly readable:
I
n
[
1
]
:
=
W
o
r
k
f
l
o
w
[
"
S
u
b
m
i
t
"
,
"
P
u
b
l
i
s
h
e
r
T
o
k
e
n
"
"
g
2
f
p
E
p
H
B
X
z
5
j
k
8
m
i
z
w
Y
Q
1
T
-
b
V
x
y
U
w
P
c
l
n
f
W
u
H
R
T
q
r
w
k
V
b
-
b
a
j
u
e
u
8
F
g
7
O
p
w
R
J
P
X
P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
Verify the
B
y
t
e
A
r
r
a
y
contents:
I
n
[
1
5
]
:
=
B
y
t
e
A
r
r
a
y
T
o
S
t
r
i
n
g
[
%
]
=
=
=
E
n
v
i
r
o
n
m
e
n
t
[
"
R
E
S
O
U
R
C
E
_
P
U
B
L
I
S
H
E
R
_
T
O
K
E
N
"
]
O
u
t
[
1
5
]
=
T
r
u
e
Code from Command Line
Set the RESOURCE_PUBLISHER_TOKEN environment variable from the command line (replace value with your actual token string):
Linux/MacOSX
$
export RESOURCE_PUBLISHER_TOKEN=g2fpEpHBXz5jk8mizwYQ1T-bVxyUwPclnfWuHRTqrwkVb-bajueu8Fg7OpwRJPXPQ6mF-1
Windows
$
set RESOURCE_PUBLISHER_TOKEN=g2fpEpHBXz5jk8mizwYQ1T-bVxyUwPclnfWuHRTqrwkVb-bajueu8Fg7OpwRJPXPQ6mF-1
Test the value:
Linux/MacOSX
$ wolframscript
-code 'Needs["ResourceSystemClient`"];ByteArrayToString[ResourceSystemClient`$PublisherToken]'
g2fpEpHBXz5jk8mizwYQ1T-bVxyUwPclnfWuHRTqrwkVb-bajueu8Fg7OpwRJPXPQ6mF-1
Windows
$ wolframscript
-code "Needs[\"ResourceSystemClient`\"];ByteArrayToString[ResourceSystemClient`$PublisherToken]"
g2fpEpHBXz5jk8mizwYQ1T-bVxyUwPclnfWuHRTqrwkVb-bajueu8Fg7OpwRJPXPQ6mF-1
▪
W
o
l
f
r
a
m
L
a
n
g
u
a
g
e
S
c
r
i
p
t
s
C
r
e
a
t
e
P
u
b
l
i
s
h
e
r
T
o
k
e
n
▪
P
u
b
l
i
s
h
e
r
T
o
k
e
n
O
b
j
e
c
t
▪
G
i
t
H
u
b
S
e
c
r
e
t
▪
W
o
r
k
f
l
o
w
▪
W
o
r
k
f
l
o
w
J
o
b
▪
W
o
r
k
f
l
o
w
S
t
e
p
▪
S
e
t
E
n
v
i
r
o
n
m
e
n
t
▪
E
n
v
i
r
o
n
m
e
n
t
▪
S
t
a
n
d
a
l
o
n
e
W
o
l
f
r
a
m
S
y
s
t
e
m
K
e
r
n
e
l
s
"
"