diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index ab0ad71..4fe7a38 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -23,10 +23,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set Node.js 20.x + - name: Set Node.js 24.x uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 24.x - name: Install dependencies run: | @@ -47,7 +47,7 @@ jobs: id: diff # If index.js was different than expected, upload the expected version as an artifact - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() && steps.diff.conclusion == 'failure' }} with: name: dist diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ea736e8..68bedd6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} source-root: src @@ -54,7 +54,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v4 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +68,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v4 diff --git a/README.md b/README.md index 00067f3..cffb6e5 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ This creates a file with variables that are defined in the Action config. ## Usage +Use `v2` or a newer `v2.x` tag when consuming this action. `v1.3.1` is the +legacy Docker-based release line. + The Action looks for environment variables that start with `envkey_` and creates an '.env' file with them. These are defined in the `with` section of the Action config. Here is an example of it in use: diff --git a/action.yml b/action.yml index 6f10746..f813614 100644 --- a/action.yml +++ b/action.yml @@ -18,5 +18,5 @@ inputs: description: 'Sort the keys alphabetically' default: 'false' runs: - using: 'node20' + using: 'node24' main: 'dist/index.js'