331 Résultats de la recherche pour "runs-on"
Sécurité du code / Sécurité de la chaîne d’approvisionnement / Comprendre votre chaîne d’approvisionnement /
Personnalisation de la configuration de l’action de révision des dépendances
"main" ]
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@v4
GitHub Actions / Partager des automatisations / Créer des actions /
Creating a Docker container action
Marketplace ».
.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
API REST / Authentification /
Authentification auprès de l’API REST
information about the path, see Getting started with the REST API.
jobs:
use_api:
runs-on: ubuntu-latest
permissions: {}
steps:
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN
GitHub Actions / Cas d’usage et exemples / Déploiement /
Déploiement de Java sur 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 / Cas d’usage et exemples / Déploiement /
Déploiement de Node.js sur 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
GitHub Actions / Cas d’usage et exemples / Déploiement /
Déploiement de Python sur Azure App Service
this to the Python version to use
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
GitHub Actions / Écrire des workflows / Choisir ce que font les workflows /
Stocker des informations dans des 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 / Cas d’usage et exemples / Déploiement /
Déploiement de PHP sur 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 / Cas d’usage et exemples / Déploiement /
Déploiement de Docker sur Azure App Service
branches:
- main
permissions:
contents: 'read'
packages: 'write'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker
GitHub Actions / Cas d’usage et exemples / Services conteneurisés /
Création de conteneurs de service 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: