Skip to content

Commit

Permalink
fix: Actions artifacts v3 is closing down and other upgrades (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmymy authored Dec 12, 2024
1 parent 712fab8 commit 8d74828
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
outputs:
any_changed: ${{ steps.check-changes.outputs.any_changed }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Check for changes in zt_frontend/
Expand All @@ -35,7 +35,7 @@ jobs:
cp -r dist/ ../zt_backend/dist_app/
- name: Upload Frontend Artifacts
if: steps.check-changes.outputs.any_changed == 'true'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: frontend-files
path: |
Expand All @@ -52,9 +52,9 @@ jobs:
python-version: ['3.9', '3.10', '3.11','3.12']
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Remove Existing Frontend Files (Windows)
Expand All @@ -72,7 +72,7 @@ jobs:
rm -rf zt_backend/dist_app
- name: Download Frontend Files
if: needs.build-frontend.outputs.any_changed == 'true'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: frontend-files
path: zt_backend/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand All @@ -39,7 +39,7 @@ jobs:
python -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -56,7 +56,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: release-please-action
uses: google-github-actions/release-please-action@v4.1.0
uses: google-github-actions/release-please-action@v4.1.1
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
release-type: python
2 changes: 1 addition & 1 deletion .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand Down

0 comments on commit 8d74828

Please sign in to comment.