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 ef9f294 commit 4c33a99
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 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-13
- 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-13'
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-13'
if: matrix.os != 'macos-14'
shell: bash
run: |
APP_VERSION=$(sed -n 's/^__version__ = "\([^"]\+\)"$/\1/p' ${{ env.PACKAGE_NAME }}/version.py)
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
if: success()

- name: Pack up binary for macos
if: matrix.os == 'macos-13'
if: matrix.os == 'macos-14'
env:
APPLE_CERT_DATA: ${{ secrets.APPLE_CERT_DATA }}
APPLE_CERT_PASSWORD: ${{ secrets.APPLE_CERT_PASSWORD }}
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
zip -q -r dist_bin/bin_${{ env.PACKAGE_NAME }}_${{ env.APP_VERSION }}_${{ matrix.OS_CODE }}_x64.zip "dist/"
- name: Create pkg and productsign it
if: matrix.os == 'macos-13'
if: matrix.os == 'macos-14'
env:
APPLE_INSTALL_CERT_DATA: ${{ secrets.APPLE_INSTALL_CERT_DATA }}
APPLE_INSTALL_CERT_PASSWORD: ${{ secrets.APPLE_INSTALL_CERT_PASSWORD }}
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
zip -q -r dist_bin/bin_${{ env.PACKAGE_NAME }}_${{ env.APP_VERSION }}_${{ matrix.OS_CODE }}_x64.zip "dist/"
- name: Save release binaries for macos
if: matrix.os == 'macos-13'
if: matrix.os == 'macos-14'
uses: actions/upload-artifact@v4
with:
name: release_airlift_pkg
Expand Down

0 comments on commit 4c33a99

Please sign in to comment.