From 136941e545d66eaf214d02aff6a9172b9cb05a33 Mon Sep 17 00:00:00 2001 From: syui Date: Tue, 5 Mar 2024 11:33:47 +0900 Subject: [PATCH] fix --- .gitea/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 57c3b45..7380475 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -12,14 +12,14 @@ jobs: name: Release runs-on: ubuntu-latest container: - image: archlinux + image: archlinux options: --privileged steps: + - name: Checkout + uses: actions/checkout@v4 - name: Initialize run: | - pacman -Syuu --noconfirm base-devel archiso docker git nodejs - git clone https://git.syui.ai/ai/os - cd os + pacman -Syuu --noconfirm base-devel archiso docker git git clone https://gitlab.archlinux.org/archlinux/archiso cp -rf ./cfg/profiledef.sh /usr/share/archiso/configs/releng/ cp -rf ./cfg/profiledef.sh ./archiso/configs/releng/profiledef.sh @@ -34,7 +34,7 @@ jobs: sed -i s/CheckSpace/#CheckeSpace/ root.x86_64/etc/pacman.conf arch-chroot root.x86_64 /bin/sh -c 'pacman-key --init' arch-chroot root.x86_64 /bin/sh -c 'pacman-key --populate archlinux' - arch-chroot root.x86_64 /bin/sh -c 'pacman -Syu --noconfirm base base-devel linux vim git zsh rust openssh openssl jq go nodejs' + arch-chroot root.x86_64 /bin/sh -c 'pacman -Syu --noconfirm base base-devel linux vim git zsh rust openssh openssl jq go' arch-chroot root.x86_64 /bin/sh -c 'chsh -s /bin/zsh' arch-chroot root.x86_64 /bin/sh -c 'git clone https://git.syui.ai/ai/bot && cd bot && cargo build && cp -rf ./target/debug/ai /bin/ && ai ai' tar -zcvf aios-bootstrap.tar.gz root.x86_64/