Skip to content

This action downloads a release asset from a release to the current workflow

License

Notifications You must be signed in to change notification settings

Broadshield/github-actions-download-release-asset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-actions-download-release-asset

This action downloads a release asset from a release to the current workflow

name: 🚢 Deploy
on:
  workflow_dispatch:
    inputs:
      deploy-tag:
        description: 'Git tag name to deploy'
        required: true
      swap:
        description: 'After deploying code to a passive environment, swap the passive and active environments'
        required: false
        default: 'false'
      terminate:
        description: 'After successfully swapping the deployed code to the active environment, terminate the previous environment'
        required: false
        default: 'false'
  deploy:
    runs-on: Ubuntu-18.04
    name: Deployment Process

    steps:
      # ...
      - uses: Broadshield/github-actions-download-release-asset@main
        name: Download Release by Tag
        id: download
        with:
          tag_name: ${{ github.event.inputs.deploy-tag }}
          path: deploy
          asset_names: ROOT.war
          github_token: ${{github.token}}
          repository: ${{github.repository}}
    # ...

About

This action downloads a release asset from a release to the current workflow

Resources

License

Stars

Watchers

Forks

Packages

No packages published