mirror of
https://github.com/TheWhiteDog9487/lag2cn.git
synced 2026-08-11 23:01:29 +08:00
Action里更新一些过时的信息
This commit is contained in:
@@ -12,7 +12,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- name: 安装GCC对ARM交叉编译工具链
|
||||
run: sudo apt install g++-aarch64-linux-gnu
|
||||
|
||||
@@ -22,11 +22,11 @@ jobs:
|
||||
aarch64-linux-gnu-g++ -o language_arm --static -std=c++20 language.cpp
|
||||
# 静态链接,避免运行时才发现缺少so动态链接库
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: language_arm
|
||||
path: language_arm
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: language
|
||||
path: language
|
||||
@@ -38,17 +38,17 @@ jobs:
|
||||
# 更新仓库需要写入权限
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/download-artifact@v6
|
||||
with:
|
||||
name: language
|
||||
- uses: actions/download-artifact@v4
|
||||
- uses: actions/download-artifact@v6
|
||||
with:
|
||||
name: language_arm
|
||||
|
||||
- name: 推送
|
||||
run: |
|
||||
git config --global user.email "gaojian520one@outlook.com"
|
||||
git config --global user.email "thewhitedog9487@outlook.com"
|
||||
git config --global user.name "TheWhiteDog9487"
|
||||
git add .
|
||||
git commit -m "新的二进制文件"
|
||||
|
||||
Reference in New Issue
Block a user