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

update Actions versions to reduce error noise #3564

Merged
merged 3 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions .github/workflows/build-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- win-amd64
steps:
- name: Clone fiftyone
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
cd package/db
python setup.py bdist_wheel --plat-name linux-x86_64
- name: Upload wheel(s)
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: wheel-${{ matrix.platform }}
path: package/db/dist/*.whl
Expand All @@ -90,9 +90,9 @@ jobs:
FIFTYONE_DO_NOT_TRACK: true
steps:
- name: Clone fiftyone
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Download fiftyone-db wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: wheel-linux-x86_64
path: downloads
Expand All @@ -113,7 +113,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/db-v')
steps:
- name: Download wheels
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
path: downloads
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- win-amd64
steps:
- name: Clone fiftyone
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python 3.8
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
working-directory: package/desktop
run: python setup.py bdist_wheel --plat-name ${{ matrix.platform }}
- name: Upload wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: wheel-${{ matrix.platform }}
path: package/desktop/dist/*.whl
Expand All @@ -83,7 +83,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/desktop-v')
steps:
- name: Download wheels
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
path: downloads
- name: Install dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
FIFTYONE_DO_NOT_TRACK: true
steps:
- name: Clone fiftyone
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Checkout fiftyone-teams
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: voxel51/fiftyone-teams
path: fiftyone-teams
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
run: |
./docs/generate_docs.bash -t fiftyone-teams
- name: Upload docs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: docs
path: docs/build/html/
Expand All @@ -98,7 +98,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Download docs
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: docs
path: docs-download/
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ on:
push:
tags:
- graphql-v*
pull_request:
paths:
- package/graphql/**
- .github/workflows/build-graphql.yml
# pull_request:
# paths:
# - package/graphql/**
# - .github/workflows/build-graphql.yml

jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Clone fiftyone
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
Expand All @@ -34,18 +34,18 @@ jobs:
cd package/graphql
python setup.py sdist bdist_wheel
- name: Upload wheel(s)
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dist
path: package/graphql/dist/*

publish:
runs-on: ubuntu-20.04
needs: [build, test]
needs: [build]
if: startsWith(github.ref, 'refs/tags/db-v')
steps:
- name: Download wheels
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
path: downloads
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
outputs:
changes: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
Expand All @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Clone fiftyone
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python 3.8
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Build python
run: make python -o app
- name: Upload dist
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Clone fiftyone
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Download dist
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: dist
path: dist
- name: docker
run: make docker-export -o python
- name: Upload image
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: docker-image
path: fiftyone.tar.gz
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Cache
id: node-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-python@v4
id: pip-cache
Expand Down
Loading