Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install pyyaml via apt #134

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions write-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ runs:
- name: Ensure yaml module is present
# Ubuntu works fine, but both windows and macos wind up complaining that there is no module "yaml"
shell: bash -l {0}
run: pip install pyyaml
run: apt install python3-yaml
- name: Write environment
shell: bash -l {0}
run: |
python $GITHUB_ACTION_PATH/../.support/condamerge.py ${{ inputs.env-files }} > ${{ inputs.output-env-file }}
echo WRITE_ENVIRONMENT_OUTPUT_ENV_FILE=${{ inputs.output-env-file }} >> $GITHUB_ENV
cat ${{ inputs.output-env-file }}
cat ${{ inputs.output-env-file }}