remove reference to deleted file from docs workflow #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Release | |
on: | |
push: | |
tags: | |
- '**' | |
jobs: | |
publish: | |
runs-on: macos-latest | |
if: github.repository == 'freeletics/khonshu' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- name: Install JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 19 | |
- name: Install Android SDK | |
run: ./.github/android-sdk.sh | |
- name: Get release notes | |
run: | | |
echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV | |
echo "$(awk '/^## ${{ github.ref_name }}/{flag=1;next}/^## /{flag=0}flag' CHANGELOG.md)" >> $GITHUB_ENV | |
echo "EOF" >> $GITHUB_ENV | |
- name: Set version for tag | |
run: | | |
echo "ORG_GRADLE_PROJECT_VERSION_NAME=${{ github.ref_name }}" >> $GITHUB_ENV | |
- uses: gradle/gradle-build-action@v2 | |
- name: Publish | |
run: ./gradlew publish | |
env: | |
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | |
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | |
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.MAVEN_SIGNING_PRIVATE_KEY }} | |
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.MAVEN_SIGNING_PASSWORD }} | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: ${{ env.RELEASE_NOTES }} |