From 4a629a705f02c8e5bf106145612a2f0cfcd32c04 Mon Sep 17 00:00:00 2001 From: Jacob O'Mara Date: Wed, 19 Jun 2024 14:58:43 +0100 Subject: [PATCH] chore: Update github actions to use gh-cli isntead of hub --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 59c7fc6..975e957 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: branches: - main tags: - -'v*' + - 'v*' jobs: release: @@ -23,6 +23,6 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV echo "FILENAME=$FILENAME" >> $GITHUB_ENV - name: 'Create Release' - run: hub release create ${{ env.VERSION }} -m ${{ env.VERSION }} -a ${{ env.FILENAME }} + run: gh release create ${{ env.VERSION }} ${{ env.FILENAME }} -t ${{ env.VERSION }} -n "" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}