Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisl9029 committed Aug 6, 2024
1 parent 33b11fb commit 18d0a01
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/publish-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,50 +56,50 @@ jobs:
run: |
echo "need-build=true" >> $GITHUB_OUTPUT
create-git-tag-commit:
name: Create git tag commit
runs-on: ubuntu-latest
needs:
- check-if-build-required
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: "main"
# create-git-tag-commit:
# name: Create git tag commit
# runs-on: ubuntu-latest
# needs:
# - check-if-build-required
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# ref: "main"

- uses: ./.github/actions/setup-node
# - uses: ./.github/actions/setup-node

- name: Install git-cliff
uses: taiki-e/install-action@v2
with:
tool: [email protected]
# - name: Install git-cliff
# uses: taiki-e/install-action@v2
# with:
# tool: [email protected]

- name: Install cargo-edit
uses: taiki-e/install-action@v2
with:
tool: [email protected]
# - name: Install cargo-edit
# uses: taiki-e/install-action@v2
# with:
# tool: [email protected]

- name: "Setup jq"
uses: dcarbone/install-jq-action@v2
with:
version: "1.7"
force: true
# - name: "Setup jq"
# uses: dcarbone/install-jq-action@v2
# with:
# version: "1.7"
# force: true

- uses: webfactory/[email protected]
if: needs.check-if-build-required.outputs.need-build == 'true' && !inputs.skipPublishing
with:
ssh-private-key: ${{ secrets.SWC_BOT_SSH }}
# - uses: webfactory/[email protected]
# if: needs.check-if-build-required.outputs.need-build == 'true' && !inputs.skipPublishing
# with:
# ssh-private-key: ${{ secrets.SWC_BOT_SSH }}

- name: Create git tag commit
if: needs.check-if-build-required.outputs.need-build == 'true' && !inputs.skipPublishing
run: |
./scripts/publish.sh ${{ inputs.version }}
# - name: Create git tag commit
# if: needs.check-if-build-required.outputs.need-build == 'true' && !inputs.skipPublishing
# run: |
# ./scripts/publish.sh ${{ inputs.version }}

build:
if: needs.check-if-build-required.outputs.need-build == 'true'
needs:
- check-if-build-required
- create-git-tag-commit
# - create-git-tag-commit
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 18d0a01

Please sign in to comment.