Skip to content

CI

CI #272

Workflow file for this run

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 }}