Skip to content

Change fetch-dept

Change fetch-dept #7

Workflow file for this run

---
name: "Release"
on:
push:
branches:
- "main"
jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v40
with:
files: |
month_manager.js
- name: List all changed files
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
echo "$file was changed"
done
- uses: "marvinpinto/action-automatic-releases@latest"
if: steps.verify-changed-files.outputs.any_changed == 'true'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
files: |
month_manager.js