#Gradle GitHub Publishing

4 messages · Page 1 of 1 (latest)

onyx osprey
#

Does anyone know how to fix this interesting problem I've run into when attempting to publish my GitHub package.
I've already run this on the cmd line: git update-index --chmod=+x gradlew

From what I understand, this is flagging the file to be executable, but it doesn't seem to be recognized

This is my workflow file:

name: Run Gradle on PRs
on: pull_request
jobs:
  gradle:
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v4
    - uses: actions/setup-java@v3
      with:
        distribution: temurin
        java-version: 16
        
    - name: Setup Gradle
      uses: gradle/gradle-build-action@v2
    
    - name: Execute Gradle build
      run: ./gradlew build
vast bloomBOT
#

This post has been reserved for your question.

Hey @onyx osprey! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

onyx osprey
#

The answer is this:

git update-index --chmod=+x gradlew
git add .
git commit -m "Changing permission of gradlew"
git push```
/close