Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloryr committed May 6, 2024
1 parent 8429fbb commit 91bac11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
chmod a+x ./build/update.sh
./build/update.sh
- name: 构建源码
shell: bash
working-directory: ./
run: |
chmod a+x ./build/build-linux.sh
./build/build-linux.sh
# - name: 构建源码
# shell: bash
# working-directory: ./
# run: |
# chmod a+x ./build/build-linux.sh
# ./build/build-linux.sh

# - name: 构建 deb
# shell: bash
Expand All @@ -51,12 +51,13 @@ jobs:
- name: 构建 pkg
run: |
docker run --name build-container -v "${{ github.workspace }}:/github/workspace" archlinux:latest /bin/bash -c "\
pacman -Syu --noconfirm base-devel git && \
pacman -Syu --noconfirm base-devel git dotnet-sdk-8.0 && \
useradd -m builder && \
cd /github/workspace && \
chown -R builder:builder /github/workspace/ && \
chmod -R 777 /github/workspace/ && \
echo 'builder ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/builder && \
./build/build-linux.sh && \
sudo -u builder ./build/build-arch.sh"
- name: 上传 linux-x86.pkg.tar.zst
Expand Down
2 changes: 1 addition & 1 deletion build/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ build_linux_aot()

build_linux linux-x64
# build_linux linux-arm64
build_linux_aot linux-x64
# build_linux_aot linux-x64
# build_linux_aot linux-arm64

0 comments on commit 91bac11

Please sign in to comment.