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 9e787c4 commit d31eeb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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-latest
- os: macos-14
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-latest'
if: matrix.os == 'macos-14'
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-latest'
if: matrix.os != 'macos-14'
shell: bash
run: |
APP_VERSION=$(sed -n 's/^__version__ = "\([^"]\+\)"$/\1/p' ${{ env.PACKAGE_NAME }}/version.py)
Expand Down

0 comments on commit d31eeb3

Please sign in to comment.