Skip to content

Commit

Permalink
remove deprecated behaviour and fixpenultimate commit grab
Browse files Browse the repository at this point in the history
Signed-off-by: frede791 <[email protected]>
  • Loading branch information
frede791 authored and dagar committed Nov 16, 2023
1 parent cc44798 commit bb6c983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Get latest commit hash
id: latest_commit
run: echo "::set-output name=hash::$(git rev-parse main)"
run: echo "hash=$((git log --format="%H" -n 1 | tail -n 1))" >> $GITHUB_OUTPUT

- name: Get second-to-last commit hash
id: second_to_last_commit
run: echo "::set-output name=hash::$(git rev-parse HEAD)"
run: echo "hash=$((git log --format="%H" -n 2 | tail -n 1))" >> $GITHUB_OUTPUT

- name: Update Fuel Models
run: ./fuel_upload.sh ${{ steps.second_to_last_commit.outputs.hash }} ${{ steps.latest_commit.outputs.hash }} ${{ secrets.GAZEBO_FUEL_TOKEN }}

0 comments on commit bb6c983

Please sign in to comment.