-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from debricked/improve-non-docker-actions
Lock non-docker to v1, just like for Docker
- Loading branch information
Showing
4 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Debricked CLI installation | ||
author: Debricked | ||
description: Installs the Debricked CLI | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Install Debricked CLI | ||
run: | | ||
# Convert GitHub's RUNNER_ARCH naming convention to match the ones we use for releases | ||
if [ "${RUNNER_ARCH}" == "X64" ]; then RUNNER_ARCH=x86_64; fi | ||
if [ "${RUNNER_ARCH}" == "X86" ]; then RUNNER_ARCH=i386; fi | ||
BIN_NAME=debricked | ||
if [ "${RUNNER_OS}" == "Windows" ]; then BIN_NAME=debricked.exe; fi | ||
echo "https://github.com/debricked/cli/releases/download/release-v1/cli_${RUNNER_OS}_${RUNNER_ARCH}.tar.gz" | ||
curl -L "https://github.com/debricked/cli/releases/download/release-v1/cli_${RUNNER_OS}_${RUNNER_ARCH}.tar.gz" | tar -xz "${BIN_NAME}" | ||
shell: bash | ||
branding: | ||
color: purple | ||
icon: search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters