Skip to content

Add overwrite input test #8

Add overwrite input test

Add overwrite input test #8

Workflow file for this run

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