Skip to content

Commit

Permalink
chore: update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 committed Sep 17, 2024
1 parent db1608b commit 6396ebc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
default: 'beta'

jobs:
publish:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -30,6 +30,13 @@ jobs:
- name: Install pnpm
run: npm install -g pnpm

- name: Check for uncommitted changes
run: |
if [[ -n $(git status --porcelain) ]]; then
git add .
git commit -m "Committing changes before release"
fi
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down

0 comments on commit 6396ebc

Please sign in to comment.