Skip to main content

170 搜索结果 "runs-on"

REST API / 检查 /

检查运行的 REST API 终结点

number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs. Note The Checks

GitHub Actions / 用例和示例 / 生成和测试 /

构建和测试 PowerShell

Test PowerShell on Ubuntu on: push jobs: pester-test: name: Pester test runs-on: ubuntu-latest steps: - name: Check out repository code uses: actions/checkout@v4

GitHub Actions / 用例和示例 / 容器化服务 /

创建 PostgreSQL 服务容器

job container-job: # Containers must run in Linux based operating systems runs-on: ubuntu-latest # Docker Hub image that `container-job` executes in container:

代码安全 / 供应链安全 / 了解供应链 /

自定义依赖项评审操作配置

"main" ] permissions: contents: read jobs: dependency-review: runs-on: ubuntu-latest steps: - name: 'Checkout repository' uses: actions/checkout@v4

GitHub Actions / 写入工作流 / 选择工作流何时运行 /

使用条件控制作业执行

jobs: production-deploy: if: github.repository == 'octo-org/octo-repo-prod' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4

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

创建 Docker 容器操作

中发布操作”。 .github/workflows/main.yml YAML on: [push] jobs: hello_world_job: runs-on: ubuntu-latest name: A job to say hello steps: - name: Hello world action

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

将 Java 部署到 Azure App Service

this to the Java version to use on: push: branches: - main jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Java version

GitHub Actions / 用例和示例 / 容器化服务 /

创建 Redis 服务容器

job container-job: # Containers must run in Linux based operating systems runs-on: ubuntu-latest # Docker Hub image that `container-job` executes in container:

GitHub Actions / 写入工作流 / 选择工作流执行的操作 /

对工作流和操作中的表达式求值

JSON 矩阵,并使用输出和 fromJSON 将其传递给下一个作业。 YAML name: build on: push jobs: job1: runs-on: ubuntu-latest outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps:

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

将 Node.js 部署到 Azure App Service

'14.x' # set this to the node version to use jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Node.js