Skip to content

Commit a18c7f9

Browse files
authored
add release action (#13)
1 parent 34c16da commit a18c7f9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
package:
6+
uses: ./.github/workflows/reusable-package.yml
7+
release:
8+
needs: package
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/download-artifact@v3
13+
- run: |
14+
tag=$(gh release view -R ryanoasis/nerd-fonts --json tagName -q '.tagName')
15+
gh release create "${tag}" --notes "JetBrainsMono Nerd Font ${tag}" ./build/*.msi
16+
env:
17+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)