formatted workflows

هذا الالتزام موجود في:
Chris Ayers
2023-10-01 23:00:42 +00:00
الأصل d05871b323
التزام 7720922c15
19 ملفات معدلة مع 136 إضافات و143 حذوفات

عرض الملف

@@ -18,6 +18,7 @@ on:
- '**.js' - '**.js'
pull_request: pull_request:
branches: [main] branches: [main]
# schedule: # schedule:
# * is a special character in YAML so you have to quote this string # * is a special character in YAML so you have to quote this string
# - cron: '30 5,17 * * *' # - cron: '30 5,17 * * *'

عرض الملف

@@ -57,4 +57,3 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
# Reference a branch # Reference a branch
- uses: actions/checkout@main - uses: actions/checkout@main

عرض الملف

@@ -26,4 +26,3 @@ jobs:
uses: actions/hello-world-javascript-action@main uses: actions/hello-world-javascript-action@main
with: with:
who-to-greet: ${{ vars.GREET_NAME }} who-to-greet: ${{ vars.GREET_NAME }}

عرض الملف

@@ -50,5 +50,3 @@ jobs:
run: echo "$Structured" run: echo "$Structured"
env: env:
Structured: ${{fromJson(secrets.Structured).clientSecret}} Structured: ${{fromJson(secrets.Structured).clientSecret}}

عرض الملف

@@ -20,7 +20,6 @@ defaults:
jobs: jobs:
build-node: build-node:
strategy: strategy:
matrix: matrix:
node-version: [12.x, 14.x, 16.x] node-version: [12.x, 14.x, 16.x]

عرض الملف

@@ -23,7 +23,6 @@ defaults:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -103,4 +102,3 @@ jobs:
with: with:
app-name: ${{ steps.deploy.outputs.webAppName }} # Replace with your app name app-name: ${{ steps.deploy.outputs.webAppName }} # Replace with your app name
package: 'webapp' package: 'webapp'

عرض الملف

@@ -16,7 +16,6 @@ defaults:
working-directory: containers-example working-directory: containers-example
jobs: jobs:
build: build:
environment: docker environment: docker
runs-on: ubuntu-latest runs-on: ubuntu-latest

عرض الملف

@@ -3,7 +3,7 @@ name: Deploy marp site to Pages
on: on:
# Runs on pushes targeting the default branch # Runs on pushes targeting the default branch
push: push:
branches: ["main"] branches: ['main']
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
@@ -17,7 +17,7 @@ permissions:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency: concurrency:
group: "pages" group: 'pages'
cancel-in-progress: false cancel-in-progress: false
jobs: jobs:
@@ -30,7 +30,7 @@ jobs:
run: mkdir build && cp -R slides/img build/img && cp -R slides/themes build/themes run: mkdir build && cp -R slides/img build/img && cp -R slides/themes build/themes
- name: Marp Build (README) - name: Marp Build (README)
uses: docker://marpteam/marp-cli:v2.5.0 uses: docker://marpteam/marp-cli:latest
with: with:
args: --theme-set slides/themes -o build/index.html --html -- slides/Slides.md args: --theme-set slides/themes -o build/index.html --html -- slides/Slides.md
env: env: