Update python-package.yml

This commit is contained in:
powderluv
2022-04-26 00:37:44 -07:00
committed by GitHub
parent 7ed8de6ffe
commit 5b431d0e0b

View File

@@ -27,11 +27,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Compute version
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
package_version="$(printf '%(%Y%m%d)T.${{ github.run_number }}')"
tag_name="snapshot-${package_version}"
echo "package_version=${package_version}" >> $GITHUB_ENV
echo "tag_name=${tag_name}" >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip