Skip to content

Commit

Permalink
Fix workflow to use proper action
Browse files Browse the repository at this point in the history
  • Loading branch information
Diviloper committed Nov 19, 2023
1 parent 4cabae3 commit ed3502e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Verify Changed files
uses: tj-actions/verify-changed-files@v16
id: verify-changed-files
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v40
with:
files: |
month_manager.js
month_manager.js
- uses: "marvinpinto/action-automatic-releases@latest"
if: steps.verify-changed-files.outputs.files_changed == 'true'
if: steps.verify-changed-files.outputs.any_changed == 'true'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
Expand Down

0 comments on commit ed3502e

Please sign in to comment.