From a9f56c620e3ca2c69e4f7e2094dcf9acf707f8e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Ignacio=20Escribano?= Date: Mon, 25 Dec 2023 09:14:38 +0000 Subject: [PATCH 1/2] Add hub --- .github/workflows/CI.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index fba4656..dc5bfdb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,7 +16,8 @@ jobs: steps: - name: Install Maven - run: sudo mkdir -p /usr/share/man/man1/ && sudo apt update && sudo apt install -y maven python3 + run: sudo mkdir -p /usr/share/man/man1/ && sudo apt update && sudo apt install -y maven python3 hub + - uses: actions/checkout@v4 - name: Set up JDK 1.8 uses: actions/setup-java@v4 @@ -38,6 +39,7 @@ jobs: for asset in ./*.jar; do assets+=("-a" "$asset") done + hub release create "${assets[@]}" -m "v$VERSION" "v$VERSION" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From d0f7e44c7f735d47ed42e1728dc0f4653769f7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Ignacio=20Escribano?= Date: Mon, 25 Dec 2023 09:16:45 +0000 Subject: [PATCH 2/2] [skip ci] Add description --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index dc5bfdb..1b8e0cc 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: Install Maven + - name: Install Maven and Hub run: sudo mkdir -p /usr/share/man/man1/ && sudo apt update && sudo apt install -y maven python3 hub - uses: actions/checkout@v4