Merge branch 'main' of https://github.com/LoyolaChicagoCode/comp488-d… #7
This file contains hidden or 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: My First Workflow | |
| on: [push] # This workflow runs on every push to the repository | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest # Specifies the runner environment | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 # Action to checkout the repository code | |
| - name: Run a script | |
| env: # Or as an environment variable | |
| MY_SECRET_TO_LIFE: ${{ secrets.MY_SECRET_TO_LIFE }} | |
| NON_SECRET_TO_LIFE: "cake" | |
| run: | | |
| echo "Hello from GitHub Actions!" | |
| echo "Current directory: $(pwd)" | |
| ls -la | |
| printenv |