Skip to content

Commit

Permalink
migrate hub to gh (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Oct 10, 2023
1 parent 0cb6558 commit 2d3aece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd nightlies
if ! hub release show -f '%as' '${{ matrix.setting.release }}' | grep "$(basename '${{ steps.release.outputs.artifact }}')" >/dev/null 2>&1; then
hub release edit -m '' -a '${{ steps.release.outputs.artifact }}' '${{ matrix.setting.release }}'
if ! gh release view '${{ matrix.setting.release }}' | grep "$(basename '${{ steps.release.outputs.artifact }}')" >/dev/null 2>&1; then
gh release upload '${{ matrix.setting.release }}' '${{ steps.release.outputs.artifact }}'
else
echo "Binary already released for tag '${{ matrix.setting.release }}', not overwritting."
fi
Expand Down

0 comments on commit 2d3aece

Please sign in to comment.