Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release) ensure Python 3.8+ is used #433

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 56 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Release
on:
schedule:
- cron: "0 6 * * mon" # 6am UTC, 11pm PST
#pull_request:
# branches: '**'
pull_request:
branches: '**'
workflow_dispatch:
inputs:
release_name:
Expand Down Expand Up @@ -149,6 +149,24 @@ jobs:
password: ${{ secrets.TOKEN_GITHUB }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- run: echo $pythonLocation
- run: |
echo $PATH
python --version
which python
- run: |
echo $PATH
python --version
which python
shell: bash {0}
- run: |
echo $PATH
python --version
which python
shell: bash -l {0}
- name: Build binary
run: ./util/release.sh ${{ needs.setup.outputs.release_name }} --bin
env:
Expand Down Expand Up @@ -281,6 +299,24 @@ jobs:
password: ${{ secrets.TOKEN_GITHUB }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- run: echo $pythonLocation
- run: |
echo $PATH
python --version
which python
- run: |
echo $PATH
python --version
which python
shell: bash {0}
- run: |
echo $PATH
python --version
which python
shell: bash -l {0}
- name: Build binary
run: ./util/release.sh ${{ needs.setup.outputs.release_name }} --bin
env:
Expand Down Expand Up @@ -312,6 +348,24 @@ jobs:
password: ${{ secrets.TOKEN_GITHUB }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- run: echo $pythonLocation
- run: |
echo $PATH
python --version
which python
- run: |
echo $PATH
python --version
which python
shell: bash {0}
- run: |
echo $PATH
python --version
which python
shell: bash -l {0}
- name: Build binary
run: ./util/release.sh ${{ needs.setup.outputs.release_name }} --bin
env:
Expand Down
Loading