Skip to content

Commit

Permalink
build(ci): fix edge publishing on main (#1756)
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau authored Jul 24, 2024
1 parent 0eaeac9 commit ff36d80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ jobs:
echo "branch=merge" >> "$GITHUB_OUTPUT"
else
branch=$(echo ${{ github.base_ref }} | sed -e 's|feature/\(.*\)|\1|')
if [ -z "${branch}" ]; then
branch=$(echo ${{ github.ref_name }} | sed -e 's|/|_|')
fi
echo "branch=$branch" >> "$GITHUB_OUTPUT"
fi
- name: Publish feature branch to edge/${{ steps.vars.outputs.branch }}
Expand Down

0 comments on commit ff36d80

Please sign in to comment.