Skip to content

Commit

Permalink
Update build.yml to run on ubuntu-22.04 instead of -latest
Browse files Browse the repository at this point in the history
ubuntu-22.04 runner image does not have `/home/runner/.local`, which is crucial, but it is present in ubuntu-22.04.
  • Loading branch information
tim-eves authored Jan 14, 2025
1 parent 8383756 commit 1b9574b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,30 +73,21 @@ jobs:
needs: build
runs-on: ubuntu-22.04
steps:
- run: ls -la ~/
- uses: actions/checkout@v4
- run: ls -la ~/
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: ls -la ~/
- run: pip install . \
git+https://github.com/silnrsi/{sldrtools#sldrtools,palaso-python#palaso} \
six

- run: ls -la ~/
six
- uses: actions/download-artifact@v4
with:
name: langtags
path: pub

# Test it.
- run: ls -la ~/
- name: Test langtags
id: langtags
run: |
ls -l ~/.local/
ls -l ~/.local/*.cache
python3 -m unittest tests.test_json tests.python.test_python tests.test_basic
echo "need_commit=$(git diff -wU0 pub/langtags.json | grep '^+ ' | grep -v '\"date\":' | wc -l)" >> $GITHUB_OUTPUT
# - name: Commit built langtags
Expand Down

0 comments on commit 1b9574b

Please sign in to comment.