Skip to content

Instantly share code, notes, and snippets.

View rcdailey's full-sized avatar

Robert Dailey rcdailey

  • Texas, USA
View GitHub Profile
#!/usr/bin/env bash
split_arg() {
split=(${1//|/ })
yml="${split[0]}"
sleep_duration="${split[1]}"
}
service_start() {
split_arg $1
@rcdailey
rcdailey / download-tar-action.yml
Created September 7, 2024 23:50
Custom actions to preserve file permissions when uploading and downloading artifacts in a Github Workflow
# File: .github/actions/download-tar/action.yml
name: Download Tar Artifact
description: >
Download and extract a tar artifact that was previously uploaded in the workflow by the upload-tar
action
inputs:
name:
description: Artifact name
path:
@rcdailey
rcdailey / .gitconfig
Created September 18, 2024 19:59
My global git configuration
#####################################################################
## BASIC SETTINGS
#####################################################################
[user]
name = # your name here
email = # your email here
[init]
defaultBranch = master
[core]