Skip to content

Commit

Permalink
[ksc-release-4.1] ci: update (kubesphere#4269)
Browse files Browse the repository at this point in the history
* ci: update

Signed-off-by: donniean <[email protected]>

* ci: update

Signed-off-by: donniean <[email protected]>

* ci: update changesets ci

Signed-off-by: donniean <[email protected]>

* chore: update

Signed-off-by: donniean <[email protected]>

---------

Signed-off-by: donniean <[email protected]>
Co-authored-by: donniean <[email protected]>
  • Loading branch information
ks-ci-bot and donniean authored Jul 15, 2024
1 parent c4c334f commit e8f4af1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release-packages-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
release-packages:
name: Release
runs-on: ubuntu-latest
# runs-on: self-hosted

steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand All @@ -32,7 +34,13 @@ jobs:
- name: Generate changeset
run: yarn changeset version --snapshot next

- name: Publish
run: yarn changeset publish --no-git-tag --tag next
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish
run: yarn changeset publish --no-git-tag --tag next
3 changes: 3 additions & 0 deletions .github/workflows/release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ on:
push:
branches:
- ksc
workflow_dispatch:

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release-packages:
name: Release
runs-on: ubuntu-latest
# runs-on: self-hosted

steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down

0 comments on commit e8f4af1

Please sign in to comment.