Skip to content

Commit

Permalink
improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed Aug 26, 2024
1 parent ac9ab2c commit 06f7f73
Showing 1 changed file with 24 additions and 16 deletions.
40 changes: 24 additions & 16 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,24 +91,25 @@ jobs:
ARCH: x64 # this can be overwritten during the course of the job
EAGER_IMPORT: true
ARTIFACT_NAME: na # will be set downstream
GH_TOKEN: ${{ github.token }}
strategy:
matrix:
runner:
- macos-latest-xlarge # this is ARM
- macos-13 # this is not ARM
runs-on: ${{matrix.runner}}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_to_release }}

- name: Check if OS supported
if: ${{ always() && hashFiles('release/macos/*') == '' }}
run: |
gh run cancel ${{ github.run_id }}
gh run watch ${{ github.run_id }}
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_to_release }}

- name: Install conda
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down Expand Up @@ -194,19 +195,20 @@ jobs:
needs: [ Create_Draft_Release, Get_New_Version ]
env:
ARCH: x64 # this can be overwritten during the course of the job
GH_TOKEN: ${{ github.token }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_to_release }}

- name: Check if OS supported
if: ${{ always() && hashFiles('release/linux/*') == '' }}
run: |
gh run cancel ${{ github.run_id }}
gh run watch ${{ github.run_id }}
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_to_release }}

- name: Install conda
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down Expand Up @@ -271,8 +273,14 @@ jobs:
needs: [Create_Draft_Release, Get_New_Version]
env:
ARCH: x64 # this can be overwritten during the course of the job
GH_TOKEN: ${{ github.token }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_to_release }}

- name: Check if OS supported
if: ${{ always() && hashFiles('release/sdfdssf/*') == '' }}
run: |
Expand All @@ -284,24 +292,24 @@ jobs:
with:
ref: ${{ inputs.commit_to_release }}


Create_Windows_Installer:
needs: [Create_Draft_Release, Get_New_Version]
env:
ARCH: x64 # this can be overwritten during the course of the job
GH_TOKEN: ${{ github.token }}
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_to_release }}

- name: Check if OS supported
if: ${{ always() && hashFiles('release/windows/*') == '' }}
run: |
gh run cancel ${{ github.run_id }}
gh run watch ${{ github.run_id }}
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_to_release }}

- name: Install conda
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down

0 comments on commit 06f7f73

Please sign in to comment.