Skip to main content

170 搜索结果 "runs-on"

REST API /

GitHub REST API 快速入门

tocat/Spoon-Knife 仓库中的议题列表。 YAML on: workflow_dispatch: jobs: use_api: runs-on: ubuntu-latest permissions: issues: read steps: - env: GH_TOKEN: ${{ secrets

GitHub Packages /

GitHub Packages 快速入门

文件。 YAML name: Node.js Package on: release: types: [created] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4

GitHub Pages / 入门 /

通过 GitHub Pages 使用自定义工作流

jobs: deploy: permissions: contents: read pages: write id-token: write runs-on: ubuntu-latest needs: jekyll-build environment: name: github-pages url:

GitHub Actions / 用例和示例 /

创建示例工作流

actor }} is learning GitHub Actions on: [push] jobs: check-bats-version: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4

GitHub Actions / 安全性 / 安全强化部署 /

在 PyPI 中配置 OpenID Connect

OIDC 令牌交换 PyPI API 令牌,然后使用后者将包的发布分发上传至 PyPI。 YAML jobs: release-build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5

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

从工作流存储和共享数据

code-coverage.html 报表作为另一个工件上传。 YAML name: Node CI on: [push] jobs: build_and_test: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4

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

部署到 Azure Static Web App

(github.event_name == 'pull_request' && github.event.action != 'closed') runs-on: ubuntu-latest name: Build and Deploy steps: - uses: actions/checkout@v4

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

配置依赖项评审操作

on: [pull_request] permissions: contents: read jobs: dependency-review: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' uses: actions/checkout@v4

REST API / 操作 /

工作流运行的 REST API 终结点

D/rerun Response 示例响应响应架构 Status: 201 List workflow runs for a repository Lists all workflow runs for a repository. You can use parameters to narrow the

GitHub Actions / 用例和示例 / 发布包 /

发布 Node.js 包

name: Publish Package to npmjs on: release: types: [published] jobs: build: runs-on: ubuntu-latest permissions: contents: read id-token: write steps: - uses: