Skip to content

Commit 8dc741b

Browse files
authored
More fixes to release YAML. (#9)
- Sadly, GH still has no way to validate the syntax of an action YAML before it is used. Co-authored-by: smaillet <[email protected]>
1 parent ba125e5 commit 8dc741b

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ vsspell_ignored_words_1c7003ec377c4bd9bb3c509d29770210 = File:.\IgnoredWords.dic
1818

1919
# match VS generated formatting for MSBuild project files
2020
[*.*proj,*.props,*.targets]
21+
indent_style = space
22+
indent_size = 2
23+
tab_width = 2
24+
25+
[*.yml,*.yaml]
26+
indent_style = space
2127
indent_size = 2
2228
tab_width = 2
2329

.github/workflows/release-build.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ defaults:
66
# only comes into play on a PUSH of a tag to the repository
77
on:
88
push:
9-
tags:
10-
- 'v*'
9+
tags:
10+
- 'v*'
1111

1212
env:
1313
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
@@ -16,21 +16,21 @@ env:
1616

1717
jobs:
1818
build_target:
19-
runs-on: windows-latest
20-
steps:
21-
- name: Checkout Repo
22-
uses: actions/checkout@v2
23-
with:
24-
persist-credentials: false
25-
fetch-depth: 0
19+
runs-on: windows-latest
20+
steps:
21+
- name: Checkout Repo
22+
uses: actions/checkout@v2
23+
with:
24+
persist-credentials: false
25+
fetch-depth: 0
2626

2727
- name: Build Source
2828
run: .\Build-All.ps1 -FullInit
2929

3030
- name: Publish Artifacts
3131
uses: actions/upload-artifact@v4
3232
with:
33-
name: Nuget Packages
33+
name: nuget-packages
3434
path: .\BuildOutput\Nuget
3535

3636
- name: Show asset names
@@ -46,6 +46,3 @@ jobs:
4646
tag_name: ${{ github.ref }}
4747
release_name: Release ${{ github.ref }}
4848
draft: true
49-
prerelease: false
50-
51-

src/Ubiquity.NET.Versioning.slnx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<Solution>
22
<Folder Name="/Solution Items/">
3+
<File Path="../.editorconfig" />
4+
<File Path="../.gitattributes" />
5+
<File Path="../.gitignore" />
36
<File Path="../Build-All.ps1" />
47
<File Path="../BuildVersion.xml" />
58
<File Path="../Directory.Build.props" />

0 commit comments

Comments
 (0)