test1 #134
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: Wokwi tests | |
on: | |
pull_request: | |
jobs: | |
get-artifacts: | |
name: Get required artifacts | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
mkdir -p artifacts | |
printf "${{ github.sha }}" > artifacts/sha.txt | |
printf "pull_request" > artifacts/event.txt | |
printf "success" > artifacts/conclusion.txt | |
printf "" > artifacts/action.txt | |
# PAYLOAD | |
printf "pull_request\nBASH_ENV=$(echo 'shouldnt print')" > artifacts/ref.txt | |
- name: Upload parent artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: parent-artifacts | |
path: artifacts | |
if-no-files-found: error |