Skip to content

shfz/shfz-actions-setup

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shfz-actions-setup

This action for setup shfz.

Download shfz binary from github release page, and install it.

Inputs

version

Required The version of shfz.

Outputs

Example usage

uses: shfz/shfz-actions-setup@v0.0.2
with:
  version: '0.0.2'

Includes actions

    - name: setup shfz
      run: |
        wget https://github.com/shfz/shfz/releases/download/v${{ inputs.version }}/shfz_${{ inputs.version }}_linux_amd64.tar.gz
        tar -zxvf shfz_${{ inputs.version }}_linux_amd64.tar.gz
        sudo mv shfz /usr/local/bin/
        sudo chmod +x /usr/local/bin/shfz
        shfz --help
      shell: bash
    - name: run shfz server
      run: shfz server &
      shell: bash