Skip to content

Commit

Permalink
Update use-reuseble-file.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leshaan99 authored Oct 12, 2024
1 parent 06c77ed commit 7844dde
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/use-reuseble-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- main
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -68,11 +67,11 @@ jobs:
path: dist
deploy:
needs: build
# This job reuses another workflow defined in the file at the specified path
uses: ./.github/workflows/reuseble.yml
# Correct path to the reusable workflow
uses: ./.github/workflows/reuseble.yml
with:
# The "artifact-name" parameter is set to the value "dist-files"
artifacts-name: 'dist-files'
# Passing the input to the reusable workflow
artifacts-name: 'dist-files'
report:
needs: [lint, deploy]
if: failure()
Expand Down

0 comments on commit 7844dde

Please sign in to comment.