Our great sponsors
-
readme-download-button-action
GitHub Action workflow configuration for keeping a direct download link to the latest version on your repo's readme
-
Puts Debuggerer
Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
add-and-commit
:octocat: Automatically commit changes made in your workflow run directly to your repo
-
release-with-changelog
Discontinued Creates GitHub releases for pushed tags, with the commit log as release body
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
For example, a link to download the source code of version 1.0.1 of readme-download-button-action will look like this: https://github.com/DenverCoder1/readme-download-button-action/archive/1.0.1.zip.
name: "Download Button Action" on: release: types: - published workflow_dispatch: jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Get latest release id: get-latest-release uses: InsonusK/[email protected] with: myToken: ${{ github.token }} view_top: 1 - name: Readme Download Button Action env: GITHUB_USER: "DenverCoder1" REPO: "readme-download-button-action" FORMAT: "zip" VERSION: "${{ steps.get-latest-release.outputs.tag_name }}" COLOR: "blue" BEGIN_TAG: "" END_TAG: "" run: | UPDATE=$(cat README.md | perl -0777 -pe 's#(${{ env.BEGIN_TAG }})(?:.|\n)*?(${{ env.END_TAG }})#${1}\n[![Download ${{ env.FORMAT }}](https://custom-icon-badges.herokuapp.com/badge/-Download-${{ env.COLOR }}?style=for-the-badge&logo=download&logoColor=white "Download ${{ env.FORMAT }}")](https://github.com/${{ env.GITHUB_USER }}/${{ env.REPO }}/archive/${{ env.VERSION }}.${{ env.FORMAT }})\n${2}#g') echo "${UPDATE}" > README.md - uses: EndBug/add-and-commit@v7 with: message: "docs(readme): Bump download button version to ${{ steps.get-latest-release.outputs.tag_name }}" default_author: github_actions branch: main
Checkout the latest version of the repo with actions/checkout
InsonusK/get-latest-release - Determine the tag for the latest release
Update the readme with EndBug/add-and-commit
tvdias/github-tagger - Create new tags to push to
fregante/release-with-changelog - generate changelogs for your releases