Skip to content

Commit

Permalink
Merge pull request #726 from EdwardCooke/ec-fixinggitattributes
Browse files Browse the repository at this point in the history
fixinggitattributes
  • Loading branch information
EdwardCooke authored Sep 29, 2022
2 parents f5ee51f + 9fa41b2 commit 743e3bf
Show file tree
Hide file tree
Showing 335 changed files with 38,672 additions and 38,672 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
*.* text eol=crlf
*.sh text eol=lf
*.cs text eol=crlf
56 changes: 28 additions & 28 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: Create a new release
on:
workflow_dispatch:
inputs:
ref:
description: Commit name to release (defaults to master)
required: false

jobs:
release:
name: Draft Release
runs-on: ubuntu-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
- name: Checkout the repository
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.event.inputs.ref }}

- name: Install GitVersion.Tool
run: dotnet tool install --global GitVersion.Tool

- name: Create draft release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./build.sh CreateGithubRelease
name: Create a new release
on:
workflow_dispatch:
inputs:
ref:
description: Commit name to release (defaults to master)
required: false

jobs:
release:
name: Draft Release
runs-on: ubuntu-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
- name: Checkout the repository
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.event.inputs.ref }}

- name: Install GitVersion.Tool
run: dotnet tool install --global GitVersion.Tool

- name: Create draft release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./build.sh CreateGithubRelease
28 changes: 14 additions & 14 deletions .github/workflows/syntax-checker.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Check Yaml Syntax

on:
issues:
types: [ opened, edited ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check syntax on YAML code blocks
uses: docker://aaubry/yamldotnet-syntax-checker:latest
with:
args: -repository ${{ github.repository }} -issueNumber ${{ github.event.issue.number }} -apiToken ${{ secrets.BOT_TOKEN }}
name: Check Yaml Syntax

on:
issues:
types: [ opened, edited ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check syntax on YAML code blocks
uses: docker://aaubry/yamldotnet-syntax-checker:latest
with:
args: -repository ${{ github.repository }} -issueNumber ${{ github.event.issue.number }} -apiToken ${{ secrets.BOT_TOKEN }}
72 changes: 36 additions & 36 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
name: Test build
on:
workflow_dispatch:
inputs:
ref:
description: Commit name (defaults to master)
required: false
target:
description: Command line
required: true
default: ResolveVersion --verbose

jobs:
release:
name: Test build
runs-on: ubuntu-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
- name: Checkout the repository
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.event.inputs.ref }}

- name: Install GitVersion.Tool
run: dotnet tool install --global GitVersion.Tool

- name: Build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
run: ./build.sh ${{ github.event.inputs.target }}
name: Test build
on:
workflow_dispatch:
inputs:
ref:
description: Commit name (defaults to master)
required: false
target:
description: Command line
required: true
default: ResolveVersion --verbose

jobs:
release:
name: Test build
runs-on: ubuntu-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
- name: Checkout the repository
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.event.inputs.ref }}

- name: Install GitVersion.Tool
run: dotnet tool install --global GitVersion.Tool

- name: Build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
run: ./build.sh ${{ github.event.inputs.target }}
18 changes: 9 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ README.html

samples/dotnet/project.lock.json
YamlDotNet/Properties/AssemblyInfo.Generated.cs


.vs
.idea

/YamlDotNet/Properties/AssemblyInfo.cs
BenchmarkDotNet.Artifacts*

/YamlDotNet.AotTest/exitcode.txt
/tools/build/Properties/launchSettings.json
/YamlDotNet.Unity
*.meta

/YamlDotNet/Properties/AssemblyInfo.cs
BenchmarkDotNet.Artifacts*

/YamlDotNet.AotTest/exitcode.txt
/tools/build/Properties/launchSettings.json
/YamlDotNet.Unity
*.meta
Loading

0 comments on commit 743e3bf

Please sign in to comment.