Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EwuUwe committed Mar 4, 2024
1 parent d67c3fb commit 4e1f6e7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
ssh-key: ${{secrets.REPO_WRITE_TOKEN}}

- name: Update version in pubspec.yaml
run: |
Expand All @@ -28,13 +30,7 @@ jobs:
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add pubspec.yaml
git commit -m "Update version to ${{ github.event.inputs.version }}"
- name: Push Changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}
branch: main

git push
build:
needs: bump_version
Expand Down

0 comments on commit 4e1f6e7

Please sign in to comment.