Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: 工作流编译报错 Error: Process completed with exit code 1. #1137

Closed
pmkol opened this issue Dec 22, 2023 · 0 comments
Closed

BUG: 工作流编译报错 Error: Process completed with exit code 1. #1137

pmkol opened this issue Dec 22, 2023 · 0 comments

Comments

@pmkol
Copy link

pmkol commented Dec 22, 2023

描述问题

Error: Process completed with exit code 1.

最近两周才出现失效的,原因是

      - name: Uploading Artifact
        uses: actions/upload-artifact@master
        with:
          name: NekoRay-${{ github.sha }}-${{ matrix.platform }}-${{ matrix.arch }}-Qt${{ matrix.qt_version }}
          path: artifacts.tgz

上述方式上传的artifacts.tgz
在Pack & Publish Release流程中,使用

      - name: Checking out sources
        uses: actions/checkout@v3
      - name: Download Artifacts
        uses: actions/download-artifact@v3

的方式无法下载artifacts.tgz,导致 find . -name artifacts.tgz | xargs -n1 tar xvzf 命令无效终止了流程,需要修复

简单的修复方法,把upload-artifact@master改成upload-artifact@v3即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants