Add overwrite input test #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
workflow_dispatch: | |
jobs: | |
directory: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Targets specific directory | |
uses: ./ | |
with: | |
directory: "tests/action/directory/a/*" | |
- name: Compare the minified files | |
run: git diff --exit-code | |
overwrite: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Overwrite the original file | |
uses: ./ | |
with: | |
directory: "tests/action/overwrite/*" | |
overwrite: true | |
- name: Compare the minified files | |
run: git diff --exit-code |