Skip to content

Commit

Permalink
Update main.yml. try.v3
Browse files Browse the repository at this point in the history
  • Loading branch information
matan-h authored Nov 26, 2023
1 parent f2d9d40 commit f348194
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ jobs:
- name: Yarn bump patch
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: echo "ref=$(yarn version --patch --json|grep -o '[0-9.]*'|tail -1)" >> "$GITHUB_ENV"
run: |
git config user.email "[email protected]"
git config user.name "git.action"
echo "ref=$(yarn version --patch --json|grep -o '[0-9.]*'|tail -1)" >> "$GITHUB_ENV"
- name: Build
Expand All @@ -41,7 +44,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ github.ref || env.ref }}
tag: ${{ env.ref || github.ref }}
# release_name: Release ${{ github.ref }}
body: "Build for commit : ${{ github.event.head_commit.message || 'automatic' }}" # TODO: changelog, and build only on tag
draft: false
Expand Down

0 comments on commit f348194

Please sign in to comment.