-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 921 Bytes
/
release.yml
File metadata and controls
34 lines (31 loc) · 921 Bytes
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
name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_FILE: "LuaUI.zip"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Build
run: make zip FILENAME=${{ env.RELEASE_FILE }}
- name: Create Release
run: |
gh release create \
--repo ${{ github.repository }} \
--title ${{ github.ref_name }} \
--generate-notes \
${{ github.ref_name }}
- name: Upload Zip File
run: |
gh release upload \
--clobber "${{ github.ref_name }}" \
--repo ${{ github.repository }} \
${{ env.RELEASE_FILE }}