FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
secure_headers/.github/workflows/github-release.yml at main · github/secure_headers · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
github
/
secure_headers
Public
Notifications
You must be signed in to change notification settings
Fork
254
Star
3.2k
Code
Issues
9
Pull requests
4
Actions
Projects
Security and quality
3
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
secure_headers
/
.github
/
workflows
/
github-release.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
37 lines (35 loc) · 970 Bytes
Breadcrumbs
secure_headers
/
.github
/
workflows
/
github-release.yml
Copy path
File metadata and controls
37 lines (35 loc) · 970 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name
:
GitHub Release
on
:
push
:
tags
:
-
v*
jobs
:
Publish
:
permissions
:
id-token
:
write
contents
:
write
runs-on
:
ubuntu-latest
if
:
startsWith(github.ref, 'refs/tags/v')
steps
:
-
uses
:
actions/checkout@v7
with
:
persist-credentials
:
false
-
name
:
Set up Ruby
uses
:
ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b
with
:
bundler-cache
:
true
-
name
:
Calculate release name
run
:
|
GITHUB_REF=${{ github.ref }}
RELEASE_NAME=${GITHUB_REF#"refs/tags/"}
echo "RELEASE_NAME=${RELEASE_NAME}" >> $GITHUB_ENV
-
name
:
Publish release
uses
:
actions/create-release@v1
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
tag_name
:
${{ github.ref }}
release_name
:
${{ env.RELEASE_NAME }}
draft
:
false
prerelease
:
false
-
uses
:
rubygems/release-gem@v1
Back
|
FazBrowse Home
|
New Git URL