Skip to content

Commit

Permalink
build(ci): remove git branch job
Browse files Browse the repository at this point in the history
  • Loading branch information
metamacro committed Sep 10, 2023
1 parent 148b80f commit cd3246e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,6 @@ on:
branches: "**"

jobs:
git-branch:
name: Get git branch
runs-on: ubuntu-latest
outputs:
branch-name: ${{ steps.get-git-branch.outputs.branch-name }}
steps:
- id: get-git-branch
run: |
if ${{ github.event_name == 'push' }}
then export GIT_BRANCH=$(echo ${{ github.ref }} | cut -d'/' -f 3)
else
export GIT_BRANCH=${{ github.base_ref }}
fi
echo "branch-name=$GIT_BRANCH" >> $GITHUB_OUTPUT
build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }} # mac-OS does not implement robust mutexes so it is not supported
Expand Down

0 comments on commit cd3246e

Please sign in to comment.