Skip to content

Commit

Permalink
fix: use POSIX shell syntax for conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
cybardev authored Jan 25, 2024
1 parent 103ece8 commit 3a3c5ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/resume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- name: Run resume generation script
id: generate
run: |
RESUME_SCRIPT="${PWD}/resume/${{ github.repository_owner }}.py"
if [[ -f "${RESUME_SCRIPT}" ]]; then
RESUME_SCRIPT="./resume/${{ github.repository_owner }}.py"
if [ -f "${RESUME_SCRIPT}" ]; then
export PYTHONPATH=$PYTHONPATH:$PWD/src/
python3 -m resumake.builder ${RESUME_SCRIPT} -o ./static/assets
FILENAME=$(basename $(ls ./static/assets/Resume_*.pdf) .pdf)
Expand Down

0 comments on commit 3a3c5ae

Please sign in to comment.