Skip to main content

765 Search results for "runs-on"

GitHub Actions / GitHub-hosted runners / About GitHub-hosted runners /

About GitHub-hosted runners

GitHub-hosted runner To use a GitHub-hosted runner, create a job and use runs-on to specify the type of runner that will process the job, such as ubuntu-latest

GitHub Actions / Use cases and examples / Build and test /

Building and testing 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 / Use cases and examples / Deployment /

Deploying to 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

GitHub Actions / Write workflows / Choose when workflows run /

Using conditions to control job execution

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 / Use cases and examples / Publish packages /

Publishing Node.js packages

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

GitHub Actions / Write workflows / Choose what workflows do /

Evaluate expressions in workflows and actions

job using an output and fromJSON. YAML name: build on: push jobs: job1: runs-on: ubuntu-latest outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps:

Code security / Supply chain security / Understand your supply chain /

Customizing your dependency review action configuration

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

Code security / Supply chain security / Understand your supply chain /

Configuring the dependency review action

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

GitHub Actions / Migrate to GitHub Actions / Automated migrations /

Migrating from Bitbucket Pipelines with GitHub Actions Importer

pull_requests Supported pipelines.tags on.tags Supported runs-on jobs.<job_id>.runs-on Supported script job.<job_id>.steps[*].run Supported

GitHub Actions / Write workflows / Choose what workflows do /

Using environments for deployment

production. name: Deployment on: push: branches: - main jobs: deployment: runs-on: ubuntu-latest environment: production steps: - name: deploy # ...deployment-specific