Skip to content

Commit 9c00fb7

Browse files
committed
* Fixes deps
1 parent d3ccf57 commit 9c00fb7

File tree

5 files changed

+41
-4
lines changed

5 files changed

+41
-4
lines changed

.github/workflows/publish.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
9+
build:
10+
runs-on: ubuntu-22.04
11+
env:
12+
DOTNET_CLI_TELEMETRY_OPTOUT: true
13+
DOTNET_NOLOGO: true
14+
15+
steps:
16+
- name: Setup .NET Core SDK
17+
uses: actions/[email protected]
18+
with:
19+
dotnet-version: 6.0.300
20+
21+
- uses: actions/checkout@v2
22+
23+
- name: Build and Test
24+
run: |
25+
dotnet tool restore
26+
dotnet paket restore
27+
yarn install --immutable --immutable-cache --check-cache
28+
dotnet build -c Release
29+
dotnet fable ./thoth-json-codec
30+
dotnet run --project ./tests
31+
(cd ./tests && yarn build && yarn test)
32+
- name: Publish
33+
run: |
34+
dotnet paket pack ./packages
35+
dotnet nuget push ./packages/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ fable_modules
1212
node_modules
1313

1414
.parcel-cache
15+
16+
.vscode

tests/paket.references

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FSharp.Core
22
Thoth.Json
33
Thoth.Json.Net
4-
Expecto
4+
Expecto
5+
Fable.Mocha

thoth-json-codec/paket.references

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
FSharp.Core
22
Thoth.Json
33
Thoth.Json.Net
4-
Expecto
5-
Fable.Mocha

thoth-json-codec/thoth-json-codec.fsproj.paket.template

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ files
1010
../LICENSE.txt ==> LICENSE.txt
1111
description Codec support for Thoth.Json
1212
summary Codec support for Thoth.Json
13-
licenseFile LICENSE.txt
13+
licenseUrl https://licenses.nuget.org/MIT
14+
licenseExpression MIT

0 commit comments

Comments
 (0)