Skip to content

Commit

Permalink
ci: update workfow
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyu1225 committed Mar 21, 2024
1 parent 45e7eb1 commit ad31c95
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/updateVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,14 @@ jobs:
id: setEnvironmentVariables
run: echo "PACKAGE_VERSION=$(echo '${{ toJson(github.event.client_payload) }}' | jq -r '.version')" >> $GITHUB_OUTPUT

- name: Print version
run: echo "${{ steps.setEnvironmentVariables.outputs.PACKAGE_VERSION }}"

- name: Update SDK verison
run: yarn updateAll ${{ steps.setEnvironmentVariables.outputs.PACKAGE_VERSION }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update SDK version
commit-message: chore(deps): bump blocto-sdk to ${{ steps.setEnvironmentVariables.outputs.PACKAGE_VERSION }}')
title: "chore(deps): bump sdk to ${{ steps.setEnvironmentVariables.outputs.PACKAGE_VERSION }}') "
body: SDK version [SDK](https:'https://github.com/blocto/blocto-sdk/releases/tag/@blocto/sdk@${{ steps.setEnvironmentVariables.outputs.PACKAGE_VERSION }}') version is released
branch: update-sdk-version
Expand Down

0 comments on commit ad31c95

Please sign in to comment.