-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 1.29 KB
/
main.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
name: 生成包和二进制文件
#run-name: ${{ github.actor }} is learning GitHub Actions
on: [push]
jobs:
Build-bin-updata:
runs-on: ubuntu-latest
steps:
- name: 获取存储库
uses: actions/checkout@v4
- name: 安装依赖
run: sudo apt install -y p7zip-full && sudo dpkg --add-architecture i386 && sudo mkdir -pm755 /etc/apt/keyrings && sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key && sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources && sudo apt update && sudo apt install -y --install-recommends winehq-stable
- name: 生成包
run: python3 actions.py
- name: 上传包 pkg
uses: softprops/action-gh-release@v1
if: true
with:
tag_name: pkg
name: pkg
body: pkg 软件包
draft: false
prerelease: false
files: |
.jcm/pkg/*
- name: 上传包 install
uses: softprops/action-gh-release@v1
if: true
with:
tag_name: install
name: install
body: install 软件包
draft: false
prerelease: false
files: |
jcm/install/*