Skip to content

Commit

Permalink
ci: adiciona suporte a artefatos entre jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
enzo-santos authored Jun 3, 2024
1 parent 6d0edd9 commit 8c83b0b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,24 @@ jobs:
- name: Build
run: flutter build web

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: web
path: build/web/
retention-days: 1

deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v4
with:
name: web

- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
Expand Down

0 comments on commit 8c83b0b

Please sign in to comment.