Skip to content

Commit

Permalink
Use master version of update-deps (#391)
Browse files Browse the repository at this point in the history
* Use master version of update-deps

* Use head_ref instead of default one on checkout

* Fix github commit detection
  • Loading branch information
donhardman authored Nov 4, 2024
1 parent 02d46f6 commit 9044180
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref || github.ref }}
- id: vars
run: |
version=$(<APP_VERSION)
date=$( date +%y%m%d%H )
commit=${GITHUB_SHA:0:7}
commit=${{ github.event.pull_request.head.sha || github.sha }}
commit=${commit:0:7}
echo "app_version=$version" >> $GITHUB_OUTPUT
echo "app_date=$date" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -273,7 +276,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Update deps
uses: manticoresoftware/manticoresearch/actions/update-deps@fix/new-update-deps-ci
uses: manticoresoftware/manticoresearch/actions/update-deps@master
with:
name: buddy
version: "${{ needs.vars.outputs.app_version }} ${{ needs.vars.outputs.app_date }} ${{ needs.vars.outputs.app_commit }}"
Expand Down

0 comments on commit 9044180

Please sign in to comment.