Skip to content

Commit 1ec2cfd

Browse files
committed
Fix publish workflow: install git and gh upfront
The gh CLI requires git to be present. Install git and gh alongside ant and zip in the initial setup step instead of installing gh later.
1 parent 93e3e2a commit 1ec2cfd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Ant and tools
2222
run: |
2323
apt-get update
24-
apt-get install -y ant zip
24+
apt-get install -y ant zip git gh
2525
2626
- name: Build
2727
run: ant all
@@ -94,7 +94,6 @@ jobs:
9494
env:
9595
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9696
run: |
97-
apt-get install -y gh
9897
TAG="${{ github.event.release.tag_name }}"
9998
10099
# Upload individual JARs

0 commit comments

Comments
 (0)