Skip to content

Commit

Permalink
Install GH CLI (missing on lampepfl/dotty image)
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Dec 10, 2024
1 parent eb82f53 commit d6288f4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ jobs:

publish_release:
permissions:
contents: write # for actions/create-release to create a release
contents: write # for GH CLI to create a release
runs-on: [self-hosted, Linux]
container:
image: lampepfl/dotty:2024-10-18
Expand Down Expand Up @@ -778,6 +778,7 @@ jobs:

- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true

# Extract the release tag
- name: Extract the release tag
run : echo "RELEASE_TAG=${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV
Expand Down Expand Up @@ -836,6 +837,11 @@ jobs:
mv scala.msi "${msiInstaller}"
sha256sum "${msiInstaller}" > "${msiInstaller}.sha256"
- name: Install GH CLI
uses: dev-hanz-ops/install-gh-cli-action@v0.2.0
with:
gh-cli-version: 2.59.0

# Create the GitHub release
- name: Create GitHub Release
env:
Expand Down

0 comments on commit d6288f4

Please sign in to comment.