webssh2/.github/workflows/action-test.yml
2022-07-29 09:35:57 -04:00

31 lines
585 B
YAML

name: Workflow testing
on:
workflow_dispatch:
inputs:
tag:
description: 'Repo Branch/Tag'
default: 'main'
type: 'string'
required: true
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
ref: ${{ inputs.tag }}
- name: 'get sha'
run: |
git rev-parse --short ${{ inputs.tag }}
git --version
git rev-parse --short
MYSHA=$(git rev-parse ${{ inputs.tag }})
- name: env
run: env