Skip to content

Commit

Permalink
Attempt to fix tag workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
galenlynch committed Oct 26, 2024
1 parent e16d311 commit 5c8c875
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tag_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ jobs:
ref: ${{ env.DEFAULT_BRANCH }}
fetch-depth: 0
token: ${{ secrets.SERVICE_TOKEN }}
- uses: FedericoCarboni/setup-ffmpeg@v3
id: setup-ffmpeg
with:
ffmpeg-version: release
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
run: |
python -m pip install -e .[dev] --no-cache-dir
- name: Get Python version and Update README.md
run: |
Expand All @@ -43,7 +47,7 @@ jobs:
coverage run -m unittest discover
coverage_val=$(coverage report | grep "^TOTAL" | grep -o '[0-9]\+%' | grep -o '[0-9]\+')
coverage_badge=$(grep -o "coverage-[^?]*" README.md)
if (( $(echo "$coverage_val >= 90.00" | bc -l) )); then
if (( $(echo "$coverage_val >= 90.00" | bc -l) )); then
new_coverage_badge="coverage-$coverage_val%25-brightgreen"
elif (( $(echo "$coverage_val < 80.00" | bc -l) )); then
new_coverage_badge="coverage-$coverage_val%25-red"
Expand Down Expand Up @@ -87,7 +91,8 @@ jobs:
libseccomp-dev \
wget \
pkg-config \
procps
procps \
ffmpeg
- name: Install GO
run: |
wget https://dl.google.com/go/go$GO_VERSION.$GO_OS-$GO_ARCH.tar.gz
Expand Down

0 comments on commit 5c8c875

Please sign in to comment.