修复打包失败 #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/* | |
- name: 上传包 language | |
uses: softprops/action-gh-release@v1 | |
if: true | |
with: | |
tag_name: language | |
name: language | |
body: language 软件包 | |
draft: false | |
prerelease: false | |
files: | | |
jcm/install/language/* | |