Update on-pr.yaml
This commit is contained in:
parent
ef65993412
commit
20b75ff18f
6
.github/workflows/on-pr.yaml
vendored
6
.github/workflows/on-pr.yaml
vendored
@ -28,8 +28,10 @@ jobs:
|
|||||||
# Passed experience with GHA has taught me to store variables in files instead of passing them as variables.
|
# Passed experience with GHA has taught me to store variables in files instead of passing them as variables.
|
||||||
- name: Output variables
|
- name: Output variables
|
||||||
run: |
|
run: |
|
||||||
echo ${{ env.GITHUB_REPOSITORY }} > /tmp/git_repository
|
echo $GITHUB_REPOSITORY > /tmp/git_repository
|
||||||
echo ${{ env.GITHUB_HEAD_REF }} > /tmp/git_head_ref
|
echo $GITHUB_HEAD_REF > /tmp/git_head_ref
|
||||||
|
# echo ${{ env.GITHUB_REPOSITORY }} > /tmp/git_repository
|
||||||
|
# echo ${{ env.GITHUB_HEAD_REF }} > /tmp/git_head_ref
|
||||||
# echo ${{ env.BUILD_KEY }} | tr '\n' ''| sshpass -p ${{ env.BUILD_PASSWORD }} scp -i /dev/stdin /tmp/git_repository {{ env.BUILD_USERNAME }}@${{ env.BUILD_HOSTNAME }}:/tmp/git_repository
|
# echo ${{ env.BUILD_KEY }} | tr '\n' ''| sshpass -p ${{ env.BUILD_PASSWORD }} scp -i /dev/stdin /tmp/git_repository {{ env.BUILD_USERNAME }}@${{ env.BUILD_HOSTNAME }}:/tmp/git_repository
|
||||||
# echo ${{ env.BUILD_KEY }} | tr '\n' ''| sshpass -p ${{ env.BUILD_PASSWORD }} scp -i /dev/stdin /tmp/git_head_ref {{ env.BUILD_USERNAME }}@${{ env.BUILD_HOSTNAME }}:/tmp/git_head_ref
|
# echo ${{ env.BUILD_KEY }} | tr '\n' ''| sshpass -p ${{ env.BUILD_PASSWORD }} scp -i /dev/stdin /tmp/git_head_ref {{ env.BUILD_USERNAME }}@${{ env.BUILD_HOSTNAME }}:/tmp/git_head_ref
|
||||||
# echo ${{ env.BUILD_KEY }} | tr '\n' ''| sshpass -p ${{ env.BUILD_PASSWORD }} scp -i /dev/stdin ./github/workflows/run_unit_test.sh {{ env.BUILD_USERNAME }}@${{ env.BUILD_HOSTNAME }}:/tmp/run_unit_test.sh
|
# echo ${{ env.BUILD_KEY }} | tr '\n' ''| sshpass -p ${{ env.BUILD_PASSWORD }} scp -i /dev/stdin ./github/workflows/run_unit_test.sh {{ env.BUILD_USERNAME }}@${{ env.BUILD_HOSTNAME }}:/tmp/run_unit_test.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user