Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added README #2

Merged
merged 36 commits into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .github/workflows/test-action.yaml

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Setup-Action
14 changes: 9 additions & 5 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ inputs:
release-tag:
description: 'Tag for the CLI release'
required: true
default: 'v'
default: 'TEST-6'
binary-name:
description: 'Name of the CLI binary'
required: true
default: 'uffizzi-linux-x64-TEST-1'
default: 'uffizzi-linux-x86_64-TEST-6'

runs:
using: 'composite'
steps:
- shell: bash
# Check if the input variable `action` is create
run: |
wget https://github.com/UffizziCloud/uffizzi_cli/releases/tag/${{ inputs.release-tag }}/${{ inputs.binary-name }}
wget https://github.com/UffizziCloud/uffizzi_cli/releases/download/${{ inputs.release-tag }}/${{ inputs.binary-name }} --quiet
chmod +x ${{ inputs.binary-name }}
./${{ inputs.binary-name }} login
- name: Export the binary
uses: actions/upload-artifact@v3
with:
name: my-artifact
path: ${{ inputs.binary-name }}