Skip to content

Commit

Permalink
Comment out publishing action
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Jan 25, 2024
1 parent 4f6feff commit 7c03b66
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
else
echo "STATUS=release" >> $GITHUB_ENV
fi
- name: "publish snapshot"
if: "${{ env.STATUS != 'release' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}"
run: ./gradlew publish
env:
ORG_GRADLE_PROJECT_paperSnapshotsUsername: "${{ secrets.PAPER_REPO_USERNAME }}"
ORG_GRADLE_PROJECT_paperSnapshotsPassword: "${{ secrets.PAPER_REPO_PASSWORD }}"
- name: "publish release"
if: "${{ env.STATUS == 'release' && github.event_name == 'release' }}"
run: ./gradlew publish
env:
ORG_GRADLE_PROJECT_paperReleasesUsername: "${{ secrets.PAPER_REPO_USERNAME }}"
ORG_GRADLE_PROJECT_paperReleasesPassword: "${{ secrets.PAPER_REPO_PASSWORD }}"
# - name: "publish snapshot"
# if: "${{ env.STATUS != 'release' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}"
# run: ./gradlew publish
# env:
# ORG_GRADLE_PROJECT_paperSnapshotsUsername: "${{ secrets.PAPER_REPO_USERNAME }}"
# ORG_GRADLE_PROJECT_paperSnapshotsPassword: "${{ secrets.PAPER_REPO_PASSWORD }}"
# - name: "publish release"
# if: "${{ env.STATUS == 'release' && github.event_name == 'release' }}"
# run: ./gradlew publish
# env:
# ORG_GRADLE_PROJECT_paperReleasesUsername: "${{ secrets.PAPER_REPO_USERNAME }}"
# ORG_GRADLE_PROJECT_paperReleasesPassword: "${{ secrets.PAPER_REPO_PASSWORD }}"

0 comments on commit 7c03b66

Please sign in to comment.