Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
AGraber committed Sep 9, 2020
0 parents commit f442cd0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Setup sampctl'
description: 'Setup sampctl in the environment'
inputs:
version: # id of input
description: 'Version of sampctl'
required: true
default: '1.9.1'
runs:
using: "composite"
steps:
- run: wget https://github.com/Southclaws/sampctl/releases/download/${{ inputs.version }}/sampctl_${{ inputs.version }}_linux_amd64.tar.gz -O sampctl.tar.gz
shell: bash
- run: sudo tar -zxf sampctl.tar.gz --directory /usr/bin sampctl
shell: bash
- run: sudo chmod +x /usr/bin/sampctl
shell: bash

0 comments on commit f442cd0

Please sign in to comment.