From 31eb5143b0fab7befe86ca8c016fb7ea1b401c08 Mon Sep 17 00:00:00 2001 From: Kevin Hoerr Date: Mon, 28 Nov 2022 21:46:31 -0500 Subject: Update build with changes (#27) * Update filetype * Update timestamp of app before build * Fix version specification for step * Fix BlockLink typing * Update with my actual role --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 683f9ae..62e11ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,15 @@ jobs: cache: 'npm' - name: Install Node.js packages run: npm ci + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%s')" + - name: Modify version number + uses: mingjun97/file-regex-replace@v1 + with: + regex: 'version: "[0-9]*",' + replacement: 'version: "${{ steps.date.outputs.date }}",' + include: 'gatsby-config\.ts' - name: Clean Gatsby cache run: npm run clean - name: Run Gatsby Build -- cgit