Skip to content

Commit cad060f

Browse files
committed
ci(release.yml): Replace hub (not installed anymore) with gh
1 parent dfa95ac commit cad060f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ubuntu-latest
4343
steps:
4444
- name: Check out the repo
45-
# Mandatory step (otherwise, hub raises "fatal: Not a git repository")
45+
# Mandatory step (otherwise, gh could raise "fatal: Not a git repository")
4646
uses: actions/checkout@v3
4747
- name: Download workflow artifacts
4848
# cf. https://github.com/actions/download-artifact/issues/3
@@ -71,7 +71,7 @@ jobs:
7171
env:
7272
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7373
run:
74-
hub release edit $(find artifacts/target -type f -printf "-a %p ") -m "" "${{ needs.release-please.outputs.tag_name }}"
74+
gh release -R ocaml-sf/learn-ocaml upload "${{ needs.release-please.outputs.tag_name }}" $(find artifacts/target -type f -printf "%p ")
7575

7676
call-opam-publish:
7777
needs: [release-please]

0 commit comments

Comments
 (0)