-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename to FinolDigital.Cgs.Json and cgs.json
- Loading branch information
1 parent
3870809
commit 9993227
Showing
31 changed files
with
73 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,41 +36,41 @@ jobs: | |
dotnet-version: 6.0.x | ||
- name: Build | ||
run: dotnet build --configuration Release /p:Version=${VERSION} | ||
- name: Upload FinolDigital.Cgs.CardGameDef.dll | ||
- name: Upload FinolDigital.Cgs.Json.dll | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: FinolDigital.Cgs.CardGameDef.dll | ||
path: FinolDigital.Cgs.CardGameDef/bin/Release/netstandard2.1/FinolDigital.Cgs.CardGameDef.dll | ||
name: FinolDigital.Cgs.Json.dll | ||
path: FinolDigital.Cgs.Json/bin/Release/netstandard2.1/FinolDigital.Cgs.Json.dll | ||
- name: Generate schema | ||
run: dotnet SchemaGeneration/bin/Release/net6.0/SchemaGeneration.dll | ||
- name: Copy schema | ||
run: cp CardGameDef.json schema/ | ||
- name: Upload CardGameDef.json | ||
run: cp cgs.json schema/ | ||
- name: Upload cgs.json | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: CardGameDef.json | ||
path: CardGameDef.json | ||
name: cgs.json | ||
path: cgs.json | ||
- name: Pack | ||
run: dotnet pack --configuration Release /p:Version=${VERSION} | ||
- name: Upload nuget package | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: FinolDigital.Cgs.CardGameDef.${{ steps.versioning.outputs.version }}.nupkg | ||
path: FinolDigital.Cgs.CardGameDef/bin/Release/FinolDigital.Cgs.CardGameDef.${{ steps.versioning.outputs.version }}.nupkg | ||
name: FinolDigital.Cgs.Json.${{ steps.versioning.outputs.version }}.nupkg | ||
path: FinolDigital.Cgs.Json/bin/Release/FinolDigital.Cgs.Json.${{ steps.versioning.outputs.version }}.nupkg | ||
- name: Update nuget settings | ||
if: github.event.action == 'published' | ||
run: dotnet nuget add source --username [email protected] --password ${{ secrets.CGS_PAT }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/finol-digital/index.json" | ||
- name: Push nuget package | ||
if: github.event.action == 'published' | ||
run: dotnet nuget push "FinolDigital.Cgs.CardGameDef/bin/Release/FinolDigital.Cgs.CardGameDef.${VERSION}.nupkg" --source "github" | ||
run: dotnet nuget push "FinolDigital.Cgs.Json/bin/Release/FinolDigital.Cgs.Json.${VERSION}.nupkg" --source "github" | ||
- name: Raise PR for schema | ||
if: github.event.action == 'published' | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ secrets.CGS_PAT }} | ||
path: schema | ||
branch: cardgamedef-${{ needs.build.outputs.version }} | ||
title: CardGameDef ${{ needs.build.outputs.version }} | ||
branch: cgsjson-${{ needs.build.outputs.version }} | ||
title: Cgs.json ${{ needs.build.outputs.version }} | ||
|
||
updateCgs: | ||
name: Update CGS | ||
|
@@ -81,28 +81,28 @@ jobs: | |
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
path: FinolDigital.Cgs.CardGameDef | ||
path: FinolDigital.Cgs.Json | ||
- name: Checkout CGS project | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: finol-digital/Card-Game-Simulator | ||
token: ${{ secrets.CGS_PAT }} | ||
path: Card-Game-Simulator | ||
lfs: true | ||
- name: Download FinolDigital.Cgs.CardGameDef.dll | ||
- name: Download FinolDigital.Cgs.Json.dll | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: FinolDigital.Cgs.CardGameDef.dll | ||
name: FinolDigital.Cgs.Json.dll | ||
path: Card-Game-Simulator/Assets/Plugins | ||
- name: Download CardGameDef.json | ||
- name: Download cgs.json | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: CardGameDef.json | ||
name: cgs.json | ||
path: Card-Game-Simulator/docs/schema | ||
- name: Raise PR to Card-Game-Simulator | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ secrets.CGS_PAT }} | ||
path: Card-Game-Simulator | ||
branch: cardgamedef-${{ needs.build.outputs.version }} | ||
title: CardGameDef ${{ needs.build.outputs.version }} | ||
branch: cgsjson-${{ needs.build.outputs.version }} | ||
title: Cgs.json ${{ needs.build.outputs.version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/Card.cs → FinolDigital.Cgs.Json/Card.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/CardAction.cs → FinolDigital.Cgs.Json/CardAction.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...l.Cgs.CardGameDef/CardBackFaceImageUrl.cs → ...lDigital.Cgs.Json/CardBackFaceImageUrl.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/CardGame.cs → FinolDigital.Cgs.Json/CardGame.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ital.Cgs.CardGameDef/CardSearchFilters.cs → FinolDigital.Cgs.Json/CardSearchFilters.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
FinolDigital.Cgs.CardGameDef/Deck.cs → FinolDigital.Cgs.Json/Deck.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/DeckPlayCard.cs → FinolDigital.Cgs.Json/DeckPlayCard.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/DeckUrl.cs → FinolDigital.Cgs.Json/DeckUrl.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Cgs.CardGameDef/Decks/CardCodeAndCount.cs → ...igital.Cgs.Json/Decks/CardCodeAndCount.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...l.Cgs.CardGameDef/Decks/LoRDeckEncoder.cs → ...lDigital.Cgs.Json/Decks/LoRDeckEncoder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/EnumDef.cs → FinolDigital.Cgs.Json/EnumDef.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/ExtraDef.cs → FinolDigital.Cgs.Json/ExtraDef.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Digital.Cgs.CardGameDef/FacePreference.cs → FinolDigital.Cgs.Json/FacePreference.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/Float2.cs → FinolDigital.Cgs.Json/Float2.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace FinolDigital.Cgs.CardGameDef | ||
namespace FinolDigital.Cgs.Json | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/GameBoard.cs → FinolDigital.Cgs.Json/GameBoard.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lDigital.Cgs.CardGameDef/GameBoardCard.cs → FinolDigital.Cgs.Json/GameBoardCard.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/GameBoardUrl.cs → FinolDigital.Cgs.Json/GameBoardUrl.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/GamePlayZone.cs → FinolDigital.Cgs.Json/GamePlayZone.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...gital.Cgs.CardGameDef/GamePlayZoneType.cs → FinolDigital.Cgs.Json/GamePlayZoneType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/PropertyDef.cs → FinolDigital.Cgs.Json/PropertyDef.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
FinolDigital.Cgs.CardGameDef/Set.cs → FinolDigital.Cgs.Json/Set.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace FinolDigital.Cgs.CardGameDef | ||
namespace FinolDigital.Cgs.Json | ||
{ | ||
using System; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...igital.Cgs.CardGameDef/SharePreference.cs → FinolDigital.Cgs.Json/SharePreference.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.