765 Search results for "runs-on"
GitHub Actions / Write workflows / Choose what workflows do /
Storing and sharing data from a workflow
as another artifact.
YAML
name: Node CI
on: [push]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
Webhooks / Using webhooks /
Automatically redelivering failed deliveries for a repository webhook
#
jobs:
redeliver-failed-deliveries:
name: Redeliver failed deliveries
runs-on: ubuntu-latest
steps:
# This workflow will run a script that is stored in
GitHub Actions / Write workflows / Choose when workflows run /
Events that trigger workflows
request comments
name: PR comment
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- run: |
echo A comment on PR $NUMBER
env:
NUMBER:
GitHub Actions / Use cases and examples / Build and test /
Building and testing Go
PATH.
Using multiple versions of Go
YAML
name: Go
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.19', '1.20', '1.21.x'
GitHub Packages /
Quickstart for 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 / Get started /
Using custom workflows with 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 / Write workflows / Choose what workflows do /
Store information in variables
day
on:
workflow_dispatch
env:
DAY_OF_WEEK: Monday
jobs:
greeting_job:
runs-on: ubuntu-latest
env:
Greeting: Hello
steps:
- name: "Say Hello Mona
GitHub Actions / Security / Security harden deployments /
Configuring OpenID Connect in PyPI
upload a package's release distributions to PyPI.
YAML
jobs:
release-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Webhooks / Using webhooks /
Automatically redelivering failed deliveries for a GitHub App webhook
#
jobs:
redeliver-failed-deliveries:
name: Redeliver failed deliveries
runs-on: ubuntu-latest
steps:
# This workflow will run a script that is stored in
Code security / Code scanning / Create advanced setup /
Customizing your advanced setup for code scanning
scanning actions.
YAML
jobs:
analyze:
name: Analyze
runs-on: [ubuntu-latest]
jobs:
analyze:
name: Analyze
runs-on: [ubuntu-latest]
If you choose to use a self-hosted