Skip to main content

170 搜索结果 "runs-on"

GitHub Packages / 使用工作流管理 GitHub Packages /

使用 GitHub Actions 发布和安装包

on the latest available version of Ubuntu. jobs: build-and-push-image: runs-on: ubuntu-latest # Sets the permissions granted to the `GITHUB_TOKEN` for

GitHub Issues / Projects / 自动执行 projects /

使用 Actions 自动化 Projects

review". on: pull_request: types: - ready_for_review jobs: track_pr: runs-on: ubuntu-latest steps: # Uses the [actions/create-github-app-token](https://github

GitHub Actions / 共享自动化 /

重新使用工作流

键中显式定义机密,也可以引用它们。 有关详细信息,请参阅“GitHub Actions 的工作流语法”。 jobs: reusable_workflow_job: runs-on: ubuntu-latest steps: - uses: actions/labeler@v4 with: repo-token: ${{ secrets

GitHub Actions / 迁移到 GitHub Actions / 手动迁移 /

从 Jenkins 迁移到 GitHub Actions

GitHub Actions 工作流程。 Jenkins 指令 GitHub Actions agent jobs.<job_id>.runs-on jobs.<job_id>.container post 无 stages jobs steps jobs.<job_id>

GitHub Actions / 共享自动化 / 创建操作 /

创建组合操作

SHA。 还可以将 who-to-greet 输入替换为你的名称。 YAML on: [push] jobs: hello_world_job: runs-on: ubuntu-latest name: A job to say hello steps: - uses: actions/checkout@v4

GitHub Actions / GitHub 托管的运行程序 / 使用较大运行器 /

关于较大的运行器

runner image. To run your workflows on a macOS larger runner, update the runs-on key to use one of the GitHub-defined macOS larger runner labels. No additional

GitHub Actions / 用例和示例 / 部署 /

部署到 Azure Kubernetes Service

# set this to an array of override file paths on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Azure Login uses:

GitHub Actions / 用例和示例 / 项目管理 /

关闭不活跃的议题

issues on: schedule: - cron: "30 1 * * *" jobs: close-issues: runs-on: ubuntu-latest permissions: issues: write pull-requests: write steps: -

GitHub Actions / 用例和示例 / 项目管理 /

计划议题的创建

schedule: - cron: 20 07 * * 1 jobs: create_issue: name: Create team sync issue runs-on: ubuntu-latest permissions: issues: write steps: - name: Create team sync

GitHub Actions / 共享自动化 /

为组织创建工作流模板

$default-branch ] pull_request: branches: [ $default-branch ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Run a one-line