GitHub Action for Updating Your Readme with a Download Button

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • readme-download-button-action

    GitHub Action workflow configuration for keeping a direct download link to the latest version on your repo's readme

  • 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.

  • Puts Debuggerer

    Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.

  • 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

  • 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.

    SurveyJS logo
  • checkout

    Action for checking out a repo

  • Checkout the latest version of the repo with actions/checkout

  • get-latest-release

    Get latest release, include all types of release

  • InsonusK/get-latest-release - Determine the tag for the latest release

  • add-and-commit

    :octocat: Automatically commit changes made in your workflow run directly to your repo

  • Update the readme with EndBug/add-and-commit

  • github-tagger

    Github action to tag commit with a given version

  • tvdias/github-tagger - Create new tags to push to

  • release-with-changelog

    Discontinued Creates GitHub releases for pushed tags, with the commit log as release body

  • fregante/release-with-changelog - generate changelogs for your releases

  • 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.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts