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

ci: fix naming conventions #63

Merged
merged 1 commit into from
Feb 10, 2024
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'release go code'
name: 'publish go'
description: 'Pushes go code to the sdk repo'
inputs:
repository-token:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'release npm package'
name: 'publish node'
description: 'Transpiles and publishes the Node package from the codegen artifact'
inputs:
registry-token:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'release rust crate'
name: 'publish rust'
description: 'Builds the Rust crate from the codegen artifact'
inputs:
registry-token:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "publish packages"
name: "[internal] publish all packages"

on:
workflow_call:
Expand All @@ -9,7 +9,7 @@ on:
required: true

jobs:
rust-release:
publish-rust:
runs-on: ubuntu-latest

steps:
Expand All @@ -21,12 +21,12 @@ jobs:
name: codegen
path: ./codegen

- uses: ./.github/actions/rust-release
- uses: ./.github/actions/publish-rust
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
mode: ${{ inputs.mode }}

node-release:
publish-node:
runs-on: ubuntu-latest

steps:
Expand All @@ -38,12 +38,12 @@ jobs:
name: codegen
path: ./codegen

- uses: ./.github/actions/node-release
- uses: ./.github/actions/publish-node
with:
registry-token: ${{ secrets.NPM_REGISTRY_TOKEN }}
mode: ${{ inputs.mode }}

go-release:
publish-go:
runs-on: ubuntu-latest

steps:
Expand All @@ -55,7 +55,7 @@ jobs:
name: codegen
path: ./codegen

- uses: ./.github/actions/go-release
- uses: ./.github/actions/publish-go
with:
repository-token: ${{ secrets.GOSDK_REPOSITORY_TOKEN }}
mode: ${{ inputs.mode }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:

publish-dry-run:
needs: [generate]
uses: ./.github/workflows/publish.yml
uses: ./.github/workflows/publish-all.yml
secrets: inherit
with:
mode: "dry-run"

publish:
needs: [publish-dry-run]
uses: ./.github/workflows/publish.yml
uses: ./.github/workflows/publish-all.yml
secrets: inherit
with:
mode: "release"
Expand Down
Loading