-
Notifications
You must be signed in to change notification settings - Fork 11
32 lines (32 loc) · 899 Bytes
/
release.yml
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
name: Publish Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
# - name: Setup Nim
# uses: jiro4989/setup-nim-action@v2
# with:
# nim-version: 'stable'
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# - name: Update bindings
# run: nim docs update_bindings.nims
# - name: Commit updated docs
# run: |
# git config --local user.email "[email protected]"
# git config --local user.name "GitHub Action"
# git add .
# git commit -m "Update bindings for release ${{ github.ref_name }}"
# git push
- name: Create a Release
uses: elgohr/Github-Release-Action@v5
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: Naylib ${{ github.ref_name }} released! 🎉