Skip to content

Commit

Permalink
ci: fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Nov 12, 2023
1 parent 330e785 commit 9f5ee17
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE: ${{ steps.tagName.outputs.tag }}
- name: Build documentation
run: ./gradlew javadoc
env:
RELEASE: ${{ steps.tagName.outputs.tag }}
- name: Publish documentation
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: build/docs/javadoc
- name: Publish
run: ./gradlew publish
env:
Expand All @@ -49,7 +40,7 @@ jobs:
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
version: 'Unreleased'
version: '1.11.7'
path: ./CHANGELOG.md
- name: Release on GitHub
uses: softprops/action-gh-release@v1
Expand All @@ -75,14 +66,6 @@ jobs:
args: 'Refined Storage {{ GIT_TAG_NAME }} has been released! {{ RELEASE_URL }}'
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
- name: Notify Twitter
uses: ethomson/send-tweet-action@v1
with:
status: Refined Storage ${{ env.GIT_TAG_NAME }} has been released! ${{ env.RELEASE_URL }}
consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
- name: Announce to Mastodon
uses: rzr/fediverse-action@master
with:
Expand Down

0 comments on commit 9f5ee17

Please sign in to comment.