Skip to content

Commit e3c25ec

Browse files
committed
ci: add nsv workflow
1 parent 8a6d3f2 commit e3c25ec

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/nsv.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Copyright (c) 2023 - 2024 Purple Clay
2+
#
3+
# Permission is hereby granted, free of charge, to any person obtaining a copy
4+
# of this software and associated documentation files (the "Software"), to deal
5+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6+
# in the Software without restriction, including without limitation the rights
7+
# copies of the Software, and to permit persons to whom the Software is
8+
# furnished to do so, subject to the following conditions:
9+
#
10+
# The above copyright notice and this permission notice shall be included in all
11+
# copies or substantial portions of the Software.
12+
#
13+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
# SOFTWARE.
20+
21+
name: nsv
22+
on:
23+
workflow_dispatch:
24+
25+
jobs:
26+
nsv:
27+
runs-on: ubuntu-latest
28+
permissions:
29+
contents: write
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
with:
34+
fetch-depth: 0
35+
token: ${{ secrets.GH_NSV }}
36+
37+
- name: Tag
38+
uses: purpleclay/nsv-action@v1
39+
with:
40+
token: ${{ secrets.GH_NSV }}
41+
env:
42+
GPG_PRIVATE_KEY: "${{ secrets.GPG_PRIVATE_KEY }}"
43+
GPG_PASSPHRASE: "${{ secrets.GPG_PASSPHRASE }}"
44+
GPG_TRUST_LEVEL: "${{ secrets.GPG_TRUST_LEVEL }}"

0 commit comments

Comments
 (0)