- Copy the content of
test-ssh.yml
into./github/workflows/test-ssh.yml
(rename to your liking) - Update the
Run tests
step accordingly
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
#!/bin/bash | |
# Bash Progress Bar: https://gist.github.com/F1LT3R/fa7f102b08a514f2c535 | |
# Function to draw progress bar | |
progressBar () { | |
local __message=""; | |
local -i __current=0 __total=100; | |
local -i __progress_bar_width=50; | |
local -i __highlight_items=0 __highlighted=0; |
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
#!/bin/env bash | |
# Styling | |
declare -r red='\033[0;31m'; | |
declare -r green='\033[0;32m'; | |
declare -r yellow='\033[0;33m'; | |
declare -r default='\033[0m'; | |
declare -r bold='\033[1m'; | |
declare -r underlined="\033[4m"; |
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
#!/bin/bash | |
# -------------------------------------------- | |
# Here we could define our GLOBAL variables. | |
# Using `declare -r` makes the variable read-only (just like a constant in other languages) | |
# -------------------------------------------- | |
declare -r BOLD='\033[1m'; | |
declare -r NORMAL='\033[0m'; |
There are many alternatives out there for having an apt-like Package Manager for Cygwin (as well documented here) like:
But, as a challange, i didn't want to install anything and do everything i needed using only Cygwin inbuilt CLI commands.
On Cygwin FAQ webpage at chapter 2.3 you can find a list of all the parameters you can pass to the setup to automate things, like specify which architecture, proxy to use AND which packages to install or uninstall.