Skip to content

Commit

Permalink
Update artifact CI steps for CI perf boost
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Feb 16, 2024
1 parent 02c8d47 commit fc81285
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ jobs:
build:
name: Build & test
runs-on: ubuntu-latest
container: httptoolkit/act-build-base:v3.0.0
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -40,7 +39,7 @@ jobs:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # To pull server without rate limit issues in CI

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*
Expand All @@ -50,12 +49,11 @@ jobs:
name: Deploy ${{ (github.ref == 'refs/heads/main' && 'to Netlify production') || 'Netlify preview' }}
if: github.event_name == 'push'
runs-on: ubuntu-latest
container: httptoolkit/act-build-base
needs: build
steps:
- uses: actions/checkout@v3

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand All @@ -81,12 +79,11 @@ jobs:
name: Build & publish container to Docker Hub
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/dependabot/')
runs-on: ubuntu-latest
container: httptoolkit/act-build-base
needs: build
steps:
- uses: actions/checkout@v3

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down

0 comments on commit fc81285

Please sign in to comment.