mirror of https://github.com/abpframework/abp.git
1 changed files with 29 additions and 0 deletions
@ -0,0 +1,29 @@ |
|||||
|
name: Update Latest Versions |
||||
|
|
||||
|
on: |
||||
|
release: |
||||
|
types: |
||||
|
- published |
||||
|
|
||||
|
jobs: |
||||
|
update-versions: |
||||
|
runs-on: ubuntu-latest |
||||
|
steps: |
||||
|
- name: Checkout repository |
||||
|
uses: actions/checkout@v2 |
||||
|
|
||||
|
- name: Set up Python |
||||
|
uses: actions/setup-python@v2 |
||||
|
with: |
||||
|
python-version: 3.x |
||||
|
|
||||
|
- name: Install dependencies |
||||
|
run: | |
||||
|
python -m pip install --upgrade pip |
||||
|
pip install PyGithub |
||||
|
|
||||
|
- name: Update latest-versions.json and create PR |
||||
|
env: |
||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
||||
|
run: | |
||||
|
python .github/scripts/update_versions.py |
||||
Loading…
Reference in new issue