From d8b11409567ebbc5db76570b1fc473c52bd50089 Mon Sep 17 00:00:00 2001 From: Will Kelly <67284402+wkelly17@users.noreply.github.com> Date: Tue, 19 Nov 2024 10:04:30 -0600 Subject: [PATCH] adjust management of dates --- .github/workflows/addDatesMeta.yml | 47 ++--- .gitignore | 3 +- actions/dates/action.yml | 20 ++ actions/dates/dates.js | 50 +++++ exampleFile.txt | 1 - package-lock.json | 281 +++++++++++++++++++++++++++++ package.json | 6 + 7 files changed, 373 insertions(+), 35 deletions(-) create mode 100644 actions/dates/action.yml create mode 100644 actions/dates/dates.js delete mode 100644 exampleFile.txt create mode 100644 package-lock.json create mode 100644 package.json diff --git a/.github/workflows/addDatesMeta.yml b/.github/workflows/addDatesMeta.yml index 178f737..f92e7bd 100644 --- a/.github/workflows/addDatesMeta.yml +++ b/.github/workflows/addDatesMeta.yml @@ -23,40 +23,21 @@ jobs: git config --global user.email 'github-actions@users.noreply.github.com' git config --global core.quotePath false - - name: Get dates meta + - name: get inputs for job run: | - # Load existing metadata.json into a variable - if [[ -f "metadata.json" ]]; then - json=$(