From ad3de3c92497c10b1e9ff6b6ca3659ba810a1e36 Mon Sep 17 00:00:00 2001 From: chenall Date: Fri, 22 Oct 2021 16:33:37 +0800 Subject: [PATCH] Update release.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 测试使用 qemu虚拟机环境 编译 efi 版本 --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbc5919..33b9822 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,12 +9,14 @@ on: jobs: build-pr: if: ${{ github.event_name == 'pull_request' }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 10 - uses: chenall/grub4dos-build@main + with: + useQemu: 1 - name: 上传文件到1 transfer.sh run: | echo transfer_url=`curl -H "Max-Downloads: 100" -H "Max-Days: 5" --upload-file ./$GRUB4DOS_BIN https://transfer.sh` >> $GITHUB_ENV @@ -26,7 +28,7 @@ jobs: curl -X POST $URL -H "Content-Type: application/json" -H "Authorization: token $GITHUB_TOKEN" --data "{ \"body\": \"$transfer_url\" }" build-push: if: ${{ github.event_name == 'push' }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest environment: name: PAGES env: @@ -46,6 +48,8 @@ jobs: path: ipxe - name: 调用专用编译环境进行编译 uses: chenall/grub4dos-build@main + with: + useQemu: 1 - name: 发布到 github if: ${{ github.event_name == 'push' }} uses: marvinpinto/action-automatic-releases@latest