Skip to content

Commit

Permalink
Use -dev python releases in dev branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Oct 27, 2023
1 parent 4b7189e commit c3cefc9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python environment
uses: actions/setup-python@v1
with:
python-version: "3.X"

- name: Set build variables
id: build-vars
env:
Expand All @@ -29,6 +31,7 @@ jobs:
echo "TAG=${TAG}" >> ${GITHUB_OUTPUT}
echo "PYTHON_VER=${PYTHON_VER}" >> ${GITHUB_OUTPUT}
echo "BUILD_NUMBER=${BUILD_NUMBER}" >> ${GITHUB_OUTPUT}
- name: Update Release Asset to S3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
target: ['macOS', 'iOS', 'tvOS', 'watchOS']
steps:
- uses: actions/checkout@v4

- name: Set build variables
id: build-vars
env:
Expand All @@ -41,10 +42,12 @@ jobs:
echo "TAG=${TAG}" >> ${GITHUB_OUTPUT}
echo "PYTHON_VER=${PYTHON_VER}" >> ${GITHUB_OUTPUT}
echo "BUILD_NUMBER=${BUILD_NUMBER}" >> ${GITHUB_OUTPUT}
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "${{ steps.build-vars.output.PYTHON_VER }}"
python-version: "${{ steps.build-vars.output.PYTHON_VER }}-dev"

- name: Build ${{ matrix.target }}
run: |
# Do the build for the requested target.
Expand All @@ -70,6 +73,7 @@ jobs:
echo "XZ_VERSION=${XZ_VERSION}" >> ${GITHUB_OUTPUT}
echo "OPENSSL_VERSION=${OPENSSL_VERSION}" >> ${GITHUB_OUTPUT}
echo "LIBFFI_VERSION=${LIBFFI_VERSION}" >> ${GITHUB_OUTPUT}
- name: Upload build artifact
uses: actions/[email protected]
with:
Expand Down

0 comments on commit c3cefc9

Please sign in to comment.