You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@ jobs:
23
23
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
24
with:
25
25
title: MyReleaseMessage
26
-
tag: MyTag
27
26
```
28
27
29
28
## Mandatory Arguments
@@ -34,10 +33,31 @@ jobs:
34
33
## Optional Arguments
35
34
36
35
### workdir
37
-
`workdir`can be used to specify a directory that contains the repository to be published.
36
+
`workdir`can be used to specify a directory that contains the repository to be published.
37
+
38
+
```yaml
39
+
with:
40
+
title: MyReleaseMessage
41
+
workdir: myDirectoryName
42
+
```
38
43
39
44
### tag
40
-
`tag`can be used to set the tag of the release
45
+
`tag`can be used to set the tag of the release.
46
+
47
+
```yaml
48
+
with:
49
+
title: MyReleaseMessage
50
+
tag: MyTag
51
+
```
52
+
53
+
### prerelease
54
+
`prerelease`is used to publish a prerelease.
55
+
56
+
```yaml
57
+
with:
58
+
title: MyReleaseMessage
59
+
prerelease: true
60
+
```
41
61
42
62
## Notes
43
63
@@ -55,7 +75,7 @@ permissions:
55
75
56
76
to the concrete job creating the release. For more details see the [documentation on token permissions.](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token)
57
77
58
-
### Use with GitHub Enterprise
78
+
### GitHub Enterprise
59
79
60
80
To publish your release to self-hosted GitHub Enterprise, include `GH_ENTERPRISE_TOKEN` and `GH_HOST` as environment variables.
0 commit comments