adds tools to be installed on first usage (after migrating to new sys… #80
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
name: build | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get Date | |
id: get-date | |
run: | | |
value=date::$(/bin/date -u "+%Y%m%d") | |
echo "date=${value}" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v3 | |
with: | |
path: /home/linuxbrew | |
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }} | |
- name: Set up Homebrew | |
# link: https://github.com/Homebrew/actions/tree/master/setup-homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
# run tests | |
- run: ln -s $PWD $HOME/.bashrc.d | |
- run: source __init__.sh |