add script to build and run #2
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: Test Bash Install Script | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Bash | |
run: | | |
sudo apt update | |
sudo apt install bash | |
- name: Run Bash Script | |
run: ./install.sh | |
- name: Test Script Output | |
run: | | |
./install.sh | |