-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython.yaml
More file actions
30 lines (25 loc) · 804 Bytes
/
python.yaml
File metadata and controls
30 lines (25 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Release Python versions
on:
workflow_dispatch:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ["3.12.4", "3.8.10"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download Python
run: |
curl -LO https://www.python.org/ftp/python/${{ matrix.python_version }}/python-${{ matrix.python_version }}-macos11.pkg
- name: Upload Binaries to Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: python-${{ matrix.python_version }}-macos11.pkg
asset_name: python-${{ matrix.python_version }}-macos11.pkg
tag: python-${{ matrix.python_version }}-macos11
overwrite: false