Skip to content

Commit 1e64fbf

Browse files
committed
Temporarily disable Releases in pipelines
1 parent 7975673 commit 1e64fbf

File tree

10 files changed

+95
-91
lines changed

10 files changed

+95
-91
lines changed

.github/workflows/build.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -78,45 +78,45 @@ jobs:
7878
if: always()
7979
with:
8080
paths: "./Artefacts/*/*.xml"
81-
82-
push-github-packages:
83-
name: "Push GitHub Packages"
84-
needs: build
85-
if: github.ref == 'refs/heads/main' || github.event_name == 'release'
86-
environment:
87-
name: "GitHub Packages"
88-
url: https://github.com/RehanSaeed/Schema.NET/packages
89-
permissions:
90-
packages: write
91-
runs-on: windows-latest
92-
steps:
93-
- name: "Download Artefact"
94-
uses: actions/[email protected]
95-
with:
96-
name: "windows-latest"
97-
- name: "Dotnet NuGet Add Source"
98-
run: dotnet nuget add source https://nuget.pkg.github.com/RehanSaeed/index.json --name GitHub --username RehanSaeed --password ${{secrets.GITHUB_TOKEN}}
99-
shell: pwsh
100-
- name: "Dotnet NuGet Push"
101-
run: dotnet nuget push .\*.nupkg --api-key ${{ github.token }} --source GitHub --skip-duplicate
102-
shell: pwsh
103-
104-
push-nuget:
105-
name: "Push NuGet Packages"
106-
needs: build
107-
if: github.event_name == 'release'
108-
environment:
109-
name: "NuGet"
110-
url: https://www.nuget.org/packages/Schema.NET
111-
runs-on: windows-latest
112-
steps:
113-
- name: "Download Artefact"
114-
uses: actions/[email protected]
115-
with:
116-
name: "windows-latest"
117-
- name: "Dotnet NuGet Push"
118-
run: |
119-
Get-ChildItem .\ -Filter *.nupkg |
120-
Where-Object { !$_.Name.Contains('preview') } |
121-
ForEach-Object { dotnet nuget push $_ --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} }
122-
shell: pwsh
81+
#
82+
# push-github-packages:
83+
# name: "Push GitHub Packages"
84+
# needs: build
85+
# if: github.ref == 'refs/heads/main' || github.event_name == 'release'
86+
# environment:
87+
# name: "GitHub Packages"
88+
# url: https://github.com/RehanSaeed/Schema.NET/packages
89+
# permissions:
90+
# packages: write
91+
# runs-on: windows-latest
92+
# steps:
93+
# - name: "Download Artefact"
94+
# uses: actions/[email protected]
95+
# with:
96+
# name: "windows-latest"
97+
# - name: "Dotnet NuGet Add Source"
98+
# run: dotnet nuget add source https://nuget.pkg.github.com/RehanSaeed/index.json --name GitHub --username RehanSaeed --password ${{secrets.GITHUB_TOKEN}}
99+
# shell: pwsh
100+
# - name: "Dotnet NuGet Push"
101+
# run: dotnet nuget push .\*.nupkg --api-key ${{ github.token }} --source GitHub --skip-duplicate
102+
# shell: pwsh
103+
#
104+
# push-nuget:
105+
# name: "Push NuGet Packages"
106+
# needs: build
107+
# if: github.event_name == 'release'
108+
# environment:
109+
# name: "NuGet"
110+
# url: https://www.nuget.org/packages/Schema.NET
111+
# runs-on: windows-latest
112+
# steps:
113+
# - name: "Download Artefact"
114+
# uses: actions/[email protected]
115+
# with:
116+
# name: "windows-latest"
117+
# - name: "Dotnet NuGet Push"
118+
# run: |
119+
# Get-ChildItem .\ -Filter *.nupkg |
120+
# Where-Object { !$_.Name.Contains('preview') } |
121+
# ForEach-Object { dotnet nuget push $_ --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} }
122+
# shell: pwsh
Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
name: Release Drafter
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
pull_request_target:
8-
types:
9-
- edited
10-
- opened
11-
- reopened
12-
- synchronize
13-
workflow_dispatch:
14-
15-
jobs:
16-
update_release_draft:
17-
permissions:
18-
contents: write
19-
pull-requests: write
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: "Draft Release"
23-
uses: release-drafter/[email protected]
24-
env:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1+
#name: Release Drafter
2+
#
3+
#on:
4+
# push:
5+
# branches:
6+
# - main
7+
# pull_request_target:
8+
# types:
9+
# - edited
10+
# - opened
11+
# - reopened
12+
# - synchronize
13+
# workflow_dispatch:
14+
#
15+
#jobs:
16+
# update_release_draft:
17+
# permissions:
18+
# contents: write
19+
# pull-requests: write
20+
# runs-on: ubuntu-latest
21+
# steps:
22+
# - name: "Draft Release"
23+
# uses: release-drafter/[email protected]
24+
# env:
25+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Benchmarks/Schema.NET.Benchmarks/packages.lock.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
"resolved": "8.0.0",
3232
"contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg=="
3333
},
34+
"Microsoft.NETFramework.ReferenceAssemblies": {
35+
"type": "Direct",
36+
"requested": "[1.0.3, )",
37+
"resolved": "1.0.3",
38+
"contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==",
39+
"dependencies": {
40+
"Microsoft.NETFramework.ReferenceAssemblies.net462": "1.0.3"
41+
}
42+
},
3443
"Microsoft.VisualStudio.Threading.Analyzers": {
3544
"type": "Direct",
3645
"requested": "[17.12.19, )",
@@ -196,6 +205,11 @@
196205
"System.Runtime.CompilerServices.Unsafe": "4.5.1"
197206
}
198207
},
208+
"Microsoft.NETFramework.ReferenceAssemblies.net462": {
209+
"type": "Transitive",
210+
"resolved": "1.0.3",
211+
"contentHash": "IzAV30z22ESCeQfxP29oVf4qEo8fBGXLXSU6oacv/9Iqe6PzgHDKCaWfwMBak7bSJQM0F5boXWoZS+kChztRIQ=="
212+
},
199213
"Microsoft.Win32.Registry": {
200214
"type": "Transitive",
201215
"resolved": "5.0.0",

Images/Banner.png

Lines changed: 0 additions & 3 deletions
This file was deleted.

Images/Google Logo Structured Data Example.png

Lines changed: 0 additions & 3 deletions
This file was deleted.

Images/Hero.png

Lines changed: 0 additions & 3 deletions
This file was deleted.

Images/Icon.png

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
![Schema.NET Banner](https://github.com/RehanSaeed/Schema.NET/blob/main/Images/Banner.png)
2-
31
[![Schema.NET NuGet Package](https://img.shields.io/nuget/v/Schema.NET.svg)](https://www.nuget.org/packages/Schema.NET) [![Schema.NET Azure Artifacts Package](https://feeds.dev.azure.com/schema-net/_apis/public/Packaging/Feeds/64e69c35-cb00-46e4-9cba-6d8faf1f41d6/Packages/fa72270b-6c54-4403-9307-aa826e43530e/Badge)](https://dev.azure.com/schema-net/Schema.NET/_packaging?_a=package&feed=64e69c35-cb00-46e4-9cba-6d8faf1f41d6&package=fa72270b-6c54-4403-9307-aa826e43530e&preferRelease=true) [![Schema.NET NuGet Package Downloads](https://img.shields.io/nuget/dt/Schema.NET)](https://www.nuget.org/packages/Schema.NET) [![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/RehanSaeedUK) [![Twitter Follow](https://img.shields.io/twitter/follow/rehansaeeduk.svg?style=social&label=Follow)](https://twitter.com/RehanSaeedUK)
42

53
Schema.org objects turned into strongly typed C# POCO classes for use in .NET. All classes can be serialized into JSON/JSON-LD and XML, typically used to represent structured data in the `head` section of `html` page.
@@ -40,8 +38,6 @@ If writing the result into a `<script>` element, be sure to use the `.ToHtmlEsca
4038

4139
Websites can define Structured Data in the `head` section of their `html` to enable search engines to show richer information in their search results. Here is an example of how [Google](https://developers.google.com/search/docs/guides/intro-structured-data) can display extended metadata about your site in it's search results.
4240

43-
![Google Logo Structured Data Example](https://github.com/RehanSaeed/Schema.NET/blob/main/Images/Google%20Logo%20Structured%20Data%20Example.png)
44-
4541
Using structured data in `html` requires the use of a `script` tag with a MIME type of `application/ld+json` like so:
4642

4743
```HTML

Schema.NET.sln

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{E1B24F25
4040
EndProject
4141
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Schema.NET.Test", "Tests\Schema.NET.Test\Schema.NET.Test.csproj", "{3E75002C-0EF2-4F04-8EC6-CED90BA27AD1}"
4242
EndProject
43-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Images", "Images", "{26F71F5B-2940-4FB0-9681-A76060CBCEF9}"
44-
ProjectSection(SolutionItems) = preProject
45-
Images\Banner.png = Images\Banner.png
46-
Images\Google Logo Structured Data Example.png = Images\Google Logo Structured Data Example.png
47-
Images\Hero.png = Images\Hero.png
48-
Images\Icon.png = Images\Icon.png
49-
EndProjectSection
50-
EndProject
5143
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Issue Templates", "Issue Templates", "{566DF0E2-1288-4083-9B55-4C8B69BB1432}"
5244
ProjectSection(SolutionItems) = preProject
5345
.github\ISSUE_TEMPLATE\BUG_REPORT.yml = .github\ISSUE_TEMPLATE\BUG_REPORT.yml

Tests/Schema.NET.Test/packages.lock.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@
2929
"Microsoft.CodeCoverage": "17.12.0"
3030
}
3131
},
32+
"Microsoft.NETFramework.ReferenceAssemblies": {
33+
"type": "Direct",
34+
"requested": "[1.0.3, )",
35+
"resolved": "1.0.3",
36+
"contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==",
37+
"dependencies": {
38+
"Microsoft.NETFramework.ReferenceAssemblies.net462": "1.0.3"
39+
}
40+
},
3241
"Microsoft.TestPlatform.ObjectModel": {
3342
"type": "Direct",
3443
"requested": "[17.12.0, )",
@@ -125,6 +134,11 @@
125134
"resolved": "17.12.0",
126135
"contentHash": "4svMznBd5JM21JIG2xZKGNanAHNXplxf/kQDFfLHXQ3OnpJkayRK/TjacFjA+EYmoyuNXHo/sOETEfcYtAzIrA=="
127136
},
137+
"Microsoft.NETFramework.ReferenceAssemblies.net462": {
138+
"type": "Transitive",
139+
"resolved": "1.0.3",
140+
"contentHash": "IzAV30z22ESCeQfxP29oVf4qEo8fBGXLXSU6oacv/9Iqe6PzgHDKCaWfwMBak7bSJQM0F5boXWoZS+kChztRIQ=="
141+
},
128142
"System.Buffers": {
129143
"type": "Transitive",
130144
"resolved": "4.5.1",

0 commit comments

Comments
 (0)