Skip to content

Commit

Permalink
Use 2-space indent in YAML.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed May 1, 2024
1 parent 7fb5e10 commit a2e29fe
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 103 deletions.
51 changes: 27 additions & 24 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
version: 2
updates:
- directory: /
package-ecosystem: github-actions
schedule:
interval: daily
timezone: Europe/Copenhagen
time: "12:00"
open-pull-requests-limit: 25
labels: []
- directory: /
package-ecosystem: npm
schedule:
interval: daily
timezone: Europe/Copenhagen
time: "12:00"
open-pull-requests-limit: 25
labels: []
- directory: /
package-ecosystem: nuget
schedule:
interval: daily
timezone: Europe/Copenhagen
time: "12:00"
open-pull-requests-limit: 25
labels: []
- package-ecosystem: github-actions
directories:
- /
schedule:
interval: daily
timezone: Europe/Copenhagen
time: "12:00"
open-pull-requests-limit: 25
labels: []
- package-ecosystem: npm
directories:
- /
schedule:
interval: daily
timezone: Europe/Copenhagen
time: "12:00"
open-pull-requests-limit: 25
labels: []
- package-ecosystem: nuget
directories:
- /
schedule:
interval: daily
timezone: Europe/Copenhagen
time: "12:00"
open-pull-requests-limit: 25
labels: []
60 changes: 30 additions & 30 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build
on:
pull_request:
pull_request:
permissions:
contents: read
contents: read
defaults:
run:
shell: bash
run:
shell: bash
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
- name: Run Cake
run: |
./cake
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/bin
out/log
build:
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
- name: Run Cake
run: |
./cake
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/bin
out/log
98 changes: 49 additions & 49 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Deploy
on:
push:
branches:
- master
workflow_call:
workflow_dispatch:
push:
branches:
- master
workflow_call:
workflow_dispatch:
permissions:
contents: read
id-token: write
pages: write
contents: read
id-token: write
pages: write
defaults:
run:
shell: bash
run:
shell: bash
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
concurrency:
group: deploy
group: deploy
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
- name: Run Cake
run: |
./cake
- name: Configure GitHub Pages
uses: actions/[email protected]
- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
path: out/bin
- name: Deploy GitHub Pages artifact
id: deployment
uses: actions/[email protected]
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/bin
out/log
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
- name: Run Cake
run: |
./cake
- name: Configure GitHub Pages
uses: actions/[email protected]
- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
path: out/bin
- name: Deploy GitHub Pages artifact
id: deployment
uses: actions/[email protected]
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/bin
out/log

0 comments on commit a2e29fe

Please sign in to comment.