From 09d6b9b41f2b3b03a8aea34cda2fc6e3d67e8e19 Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Wed, 18 Oct 2023 02:05:03 +0900 Subject: [PATCH] gitignore-in binary is renamed to gitignore.in and the action.yml is updated to reflect this change. --- action.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/action.yml b/action.yml index 5a772ad..8d5651e 100644 --- a/action.yml +++ b/action.yml @@ -47,19 +47,19 @@ runs: - run: | tmpdir=$(mktemp -d) cd "${tmpdir}" - version=v0.1.0 + version=v0.2.0 # TODO: support other platform - target=gitignore-in-x86_64-unknown-linux-gnu-v0.1.0.tar.gz + target=gitignore-in-x86_64-unknown-linux-gnu-v0.2.0.tar.gz url="https://github.com/gitignore-in/gitignore-in/releases/download/${version}/${target}" wget "${url}" tar -xzf "${target}" - cp gitignore-in /usr/local/bin - chmod +x /usr/local/bin/gitignore-in + cp gitignore.in /usr/local/bin + chmod +x /usr/local/bin/gitignore.in rm -rf "${tmpdir}" shell: bash - - name: run gitignore-in - run: gitignore-in + - name: run gitignore.in + run: gitignore.in shell: bash - name: check .gitignore @@ -72,10 +72,10 @@ runs: with: branch: ${{ inputs.branch_name }} base: ${{ inputs.base_branch }} - commit-message: Update .gitignore by gitignore-in + commit-message: Update .gitignore by gitignore.in delete-branch: true title: Update .gitignore body: | - Update .gitignore by gitignore-in + Update .gitignore by gitignore.in env: GH_TOKEN: ${{ github.token }}