Skip to content

Commit

Permalink
Merge pull request #39 from Dirt-Road-Development/bug/fix-publish-3
Browse files Browse the repository at this point in the history
Add Branch Value
  • Loading branch information
TheGreatAxios authored Nov 30, 2022
2 parents 2d96504 + b6852bc commit e3a31cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor}}@users.noreply.github.com"
- name: Set version and branch
run: |
export BRANCH=${GITHUB_REF##*/}
echo "Branch: $BRANCH"
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
- name: "Version"
run: |
if [[ "$BRANCH" == "main" ]]; then
Expand Down

0 comments on commit e3a31cf

Please sign in to comment.