forked from rime/librime
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 951 Bytes
/
release-ci.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
37
38
name: Release CI
on:
push:
tags:
- '[0-9]+.*'
jobs:
linux:
uses: ./.github/workflows/linux-build.yml
macos:
uses: ./.github/workflows/macos-build.yml
with:
build_variant: '-universal'
rime_plugins: rime/librime-charcode hchunhui/librime-lua lotem/librime-octagram
windows:
uses: ./.github/workflows/windows-build.yml
with:
rime_plugins: rime/librime-charcode hchunhui/librime-lua lotem/librime-octagram
release:
needs: [macos, windows]
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
- name: Create GitHub release
uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
draft: true
prerelease: ${{ contains(github.ref_name, '-') }}
title: librime ${{ github.ref_name }}
files: |
artifact/*