forked from sodapng/voice-over-translation
-
Notifications
You must be signed in to change notification settings - Fork 234
36 lines (32 loc) · 817 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
33
34
35
36
# adopted from https://github.com/MihailRis/VoxelEngine-Cpp
name: Release
on:
push:
branches: [master, dev]
permissions:
contents: write
jobs:
build_release:
name: Build Release
uses: ./.github/workflows/build.yml
create_release:
needs: build_release
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: vot
pattern: vot-*
merge-multiple: true
- name: Create release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref }}
name: ${{ github.sha }}
draft: true
prerelease: false
files: |
vot/vot.user.js
vot/vot-min.user.js