Skip to main content

765 Search results for "runs-on"

Contribute to GitHub Docs / Writing for GitHub Docs /

Annotating code examples

Post welcome comment # Configures the operating system the job runs on. runs-on: ubuntu-latest # The `run` keyword tells the job to execute a command on

GitHub Actions / Use cases and examples / Publish packages /

Publishing Java packages with Gradle

the Maven Central Repository on: release: types: [created] jobs: publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Java uses:

GitHub Actions / Write workflows /

Quickstart for GitHub Actions

testing out GitHub Actions 🚀 on: [push] jobs: Explore-GitHub-Actions: runs-on: ubuntu-latest steps: - run: echo "🎉 The job was automatically triggered

GitHub Actions / Use cases and examples / Deployment /

Deploying PHP to Azure App Service

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

GitHub Actions / Use cases and examples / Publish packages /

Publishing Docker images

[published] jobs: push_to_registry: name: Push Docker image to Docker Hub runs-on: ubuntu-latest permissions: packages: write contents: read attestations:

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

Building and testing Xamarin applications

Xamarin.iOS application. name: Build Xamarin.iOS app on: [push] jobs: build: runs-on: macos-latest steps: - uses: actions/checkout@v4 - name: Set default Xamarin

GitHub Actions / Use cases and examples / Project management /

Adding labels to issues

Label issues on: issues: types: - reopened - opened jobs: label_issues: runs-on: ubuntu-latest permissions: issues: write steps: - run: gh issue edit "$NUMBER"

GitHub Actions / Security / Security guides /

Automatic token authentication

parameter: YAML name: Open new issue on: workflow_dispatch jobs: open-issue: runs-on: ubuntu-latest permissions: contents: read issues: write steps: - run: |

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

Building and testing Ruby

on: push: branches: [ main ] pull_request: branches: [ main ] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby-version: ['3.1', '3.0', '2.7'] steps:

GitHub Actions / Migrate to GitHub Actions / Manual migrations /

Migrating from Travis CI to GitHub Actions

refer to the custom variables: name: Node.js CI on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: include: - node-version: '14.x' site: "prod"