Skip to content

Commit

Permalink
adjusts the main yml for getting HEAD ref in PR context
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandruAntonescuKeysight committed Apr 4, 2024
1 parent e3c2a63 commit c90d996
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: make gcc g++ libprotobuf-dev protobuf-compiler
Expand Down

0 comments on commit c90d996

Please sign in to comment.