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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- name: 安装GCC对ARM交叉编译工具链
|
- name: 安装GCC对ARM交叉编译工具链
|
||||||
run: sudo apt install g++-aarch64-linux-gnu
|
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
|
aarch64-linux-gnu-g++ -o language_arm --static -std=c++20 language.cpp
|
||||||
# 静态链接,避免运行时才发现缺少so动态链接库
|
# 静态链接,避免运行时才发现缺少so动态链接库
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: language_arm
|
name: language_arm
|
||||||
path: language_arm
|
path: language_arm
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: language
|
name: language
|
||||||
path: language
|
path: language
|
||||||
@@ -38,17 +38,17 @@ jobs:
|
|||||||
# 更新仓库需要写入权限
|
# 更新仓库需要写入权限
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: language
|
name: language
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: language_arm
|
name: language_arm
|
||||||
|
|
||||||
- name: 推送
|
- name: 推送
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "gaojian520one@outlook.com"
|
git config --global user.email "thewhitedog9487@outlook.com"
|
||||||
git config --global user.name "TheWhiteDog9487"
|
git config --global user.name "TheWhiteDog9487"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "新的二进制文件"
|
git commit -m "新的二进制文件"
|
||||||
|
|||||||
Reference in New Issue
Block a user