小编Adi*_*agh的帖子

如何在 GitHub 操作中访问 GitHub 存储库的根目录?

每当进行提交时,我都会尝试从resume.tex我的简历存储库文件中构建一份简历 pdf 。

我收到以下错误。

Error:  File '/home/runner/work/resume/resume/resume.tex' cannot be found from the directory '/github/workspace'.
Run Code Online (Sandbox Code Playgroud)

我应该如何访问该resume.tex文件?如果我只是说root_file: resume.tex,错误是:

Error:  File 'resume.tex' cannot be found from the directory '/github/workspace'.
Run Code Online (Sandbox Code Playgroud)

.github/workflows/build_resume.yml文件看起来像这样。该resume.tex文件位于我的存储库的根目录中。

# This is a basic workflow to help you get started with Actions

name: Build PDF on commit.

# Controls when the workflow will run
on:
  # Triggers the workflow on push or pull request events but only for …
Run Code Online (Sandbox Code Playgroud)

pdf latex github-actions

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

github-actions ×1

latex ×1

pdf ×1