Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hxhxhx88 committed Oct 5, 2023
1 parent f887ae1 commit 1f09a01
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ jobs:
docker run --rm --entrypoint tar local/nutsh:runtime-release cC /project/build . | tar xvC ~/build
- name: install GitHub CLI
run: |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
sudo apt-add-repository https://cli.github.com/packages
sudo apt-get update
sudo apt-get install gh
sudo apt-get install -y hub
- name: create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -67,7 +65,7 @@ jobs:
tag_name="${GITHUB_REF##*/}"
prerelease=""
if [[ $GITHUB_REF =~ -alpha ]]; then prerelease="-p"; fi
gh release create "$tag_name" "${assets[@]}" --title "$tag_name" --notes "$tag_name" ${prerelease} --draft
hub release create "${assets[@]}" ${prerelease} -m "$tag_name" --draft "$tag_name"
container_release:
runs-on: ubuntu-latest
needs: [pretest]
Expand Down

0 comments on commit 1f09a01

Please sign in to comment.