Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New type system #1063

Merged
merged 26 commits into from
Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"gitversion.tool": {
"version": "5.1.2",
"version": "5.8.1",
"commands": [
"dotnet-gitversion"
]
Expand Down
69 changes: 69 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Build and package

on:
push:
branches:
- master
- release/**
tags:
- v**
pull_request:
branches: [master]

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- name: Build packages
shell: pwsh
run: |
./build.ps1 -Output ./artifacts -CurrentBranch $Env:GITHUB_REF_NAME

- name: Publish build artifacts
uses: actions/upload-artifact@v2
with:
name: Packages
path: |
./artifacts/*.nupkg
./artifacts/*.tgz

- name: Publish to nuget
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags/')
shell: pwsh
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
run: |
dotnet nuget push "./artifacts/*.nupkg" -k $Env:NUGET_KEY

- uses: actions/setup-node@v2
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"

- name: Publish beta NPM package
if: github.ref_name == 'master'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_KEY }}
working-directory: ./artifacts/graphql.server.link
run: npm publish --tag beta

- name: Publish release NPM package
if: startsWith(github.ref, 'refs/tags/')
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_KEY }}
working-directory: ./artifacts/graphql.server.link
run: npm publish
5 changes: 3 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>

<Project>
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<LangVersion>10.0</LangVersion>
<Copyright>Pekka Heikura</Copyright>
<PackageProjectUrl>https://github.com/pekkah/tanka-graphql</PackageProjectUrl>
<RepositoryUrl>https://github.com/pekkah/tanka-graphql</RepositoryUrl>
Expand All @@ -10,4 +11,4 @@
<PackageTags>graphql,tanka,signalr,apollo</PackageTags>
<Authors>Pekka Heikura</Authors>
</PropertyGroup>
</Project>
</Project>
1 change: 1 addition & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
mode: ContinuousDeployment
next-version: 3.0
branches:
master:
tag: beta
Expand Down
4 changes: 0 additions & 4 deletions artifacts/tanka-docs-section.yml

This file was deleted.

165 changes: 0 additions & 165 deletions azure-pipelines.yml

This file was deleted.

Loading