Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
testing with sed and envs
  • Loading branch information
anisghaoui authored Nov 24, 2024
1 parent 0382316 commit ca40eff
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Debug Language Variable
run: echo "LANGUAGE is set to ${{ env.LANGUAGE }}"

- name: Extra Mod Name
run: |
# Extract objectname using sed
mod-name=$(echo $url | sed 's:.*/::')
mod-name=$mod-name" >> $GITHUB_ENV
# Test each mod
- name: Checking Translation
run: |
run: |
python mod_translate_track.py ${{ matrix.mod }} ${{ vars.LANGUAGE }}
# Collect artifacts from the output/ directory
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: output-${${{ matrix.mod }}##*/}
path: output/${${{ matrix.mod }}##*/}/*
name: output-${{ env.mod-name }}
path: output/${{ env.mod-name }}/*

0 comments on commit ca40eff

Please sign in to comment.