Skip to content

Commit

Permalink
Update release_github_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmVigneswaran committed May 9, 2024
1 parent d31eeb3 commit e53c073
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release_github_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
strategy:
matrix:
include:
- os: macos-14
- os: macos-latest
OS_CODE: macos
- os: ubuntu-latest
OS_CODE: linux
Expand All @@ -70,14 +70,14 @@ jobs:
- uses: actions/checkout@v4

- name: Get version
if: matrix.os == 'macos-14'
if: matrix.os == 'macos-latest'
shell: bash
run: |
APP_VERSION=$(perl -n -e'/^__version__ = "([^"]+)"$/ && print $1' ${{ env.PACKAGE_NAME }}/version.py)
echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV
- name: Get version
if: matrix.os != 'macos-14'
if: matrix.os != 'macos-latest'
shell: bash
run: |
APP_VERSION=$(sed -n 's/^__version__ = "\([^"]\+\)"$/\1/p' ${{ env.PACKAGE_NAME }}/version.py)
Expand All @@ -88,11 +88,10 @@ jobs:
with:
name: release_dist_reqs

- name: Set up Python
- name: Set up Python ${{ env.BUILD_PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: 3.8
cache: 'pip'
python-version: ${{ env.BUILD_PYTHON_VERSION }}

- name: Install dependencies
run: |
Expand Down

0 comments on commit e53c073

Please sign in to comment.