-
Notifications
You must be signed in to change notification settings - Fork 57
47 lines (44 loc) · 1.2 KB
/
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
39
40
41
42
43
44
45
46
47
name: CI
on:
schedule:
- cron: '0 0 * * 1'
push:
branches:
- action
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build archlinux package
uses: vufa/arch-makepkg-action@master
with:
repos: >
archlinuxcn=https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
before: "sudo pacman -S --noconfirm archlinuxcn-keyring && curl https://github.com/canihavesomecoffee.gpg | gpg --import"
packages: >
p7zip
lib32-udis86-git
deepin-wine6-stable
deepin-wine-helper
xorg-xwininfo
wqy-microhei
lib32-alsa-lib
lib32-alsa-plugins
lib32-libpulse
lib32-openal
lib32-mpg123
lib32-libldap
noto-fonts-sc
lib32-nvidia-utils
scripts: "makepkg && ./gen.sh -m"
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: deepin-wine-wechat*.pkg*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}