Skip to content

Commit

Permalink
Fix yamllint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat15 committed Sep 6, 2024
1 parent a5d02cf commit 19a0c74
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 19 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
version: 2
updates:
- package-ecosystem: "nuget"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- uses: "authzed/actions/cla-check@main"
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
cla_assistant_token: "${{ secrets.CLA_ASSISTANT_ACCESS_TOKEN }}"
cla_assistant_token: "${{ secrets.CLA_ASSISTANT_ACCESS_TOKEN }}"
38 changes: 20 additions & 18 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
# yamllint disable rule:line-length
name: "Publish to Nuget"
on:
on: # yamllint disable-line rule:truthy
release:
types:
- "published"
Expand All @@ -8,20 +10,20 @@ jobs:
name: "Publish to Nuget"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-dotnet@v4"
with:
dotnet-version: '8.x'
# Store the version, stripping any v-prefix
# This lets us use v-prefixed releases
- name: Write release version
run: |
VERSION=${GITHUB_REF_NAME#v}
echo Version: $VERSION
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: "Pack the project"
working-directory: "src/Authzed.Net"
run: "dotnet pack -c Release -o dist -p:PackageVersion=${VERSION} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:ContinuousIntegrationBuild=true"
- name: "Publish to Nuget"
working-directory: "src/Authzed.Net/dist"
run: 'dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k "${{ secrets.NUGET_API_KEY }}" --skip-duplicate'
- uses: "actions/checkout@v4"
- uses: "actions/setup-dotnet@v4"
with:
dotnet-version: '8.x'
# Store the version, stripping any v-prefix
# This lets us use v-prefixed releases
- name: Write release version
run: |
VERSION=${GITHUB_REF_NAME#v}
echo Version: $VERSION
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: "Pack the project"
working-directory: "src/Authzed.Net"
run: "dotnet pack -c Release -o dist -p:PackageVersion=${VERSION} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:ContinuousIntegrationBuild=true"
- name: "Publish to Nuget"
working-directory: "src/Authzed.Net/dist"
run: 'dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k "${{ secrets.NUGET_API_KEY }}" --skip-duplicate'
2 changes: 2 additions & 0 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yamllint disable rule:line-length
version: "v2"
plugins:
- protoc_builtin: "csharp"
Expand Down

0 comments on commit 19a0c74

Please sign in to comment.