Compare commits

...
8 Commits
Author SHA1 Message Date
Bassem Dghaidi c6a3b2bd78 Upgrade the actions used in workflows
Code scanning - action / CodeQL-Build (push) Canceled after 0s
2026-03-16 10:21:42 -07:00
Bassem Dghaidi bd0e0bbb26 Upgrade @actions/artifact to 1.1.3 2026-03-16 08:42:49 -07:00
Bassem Dghaidi 142ec53061 Add build output and licensed updates 2026-03-16 03:58:49 -07:00
Bassem Dghaidi 9bc309f13e Bump version to v3.2.2 2026-03-16 03:52:56 -07:00
Josh Gross c24449f33c Merge pull request #608 from actions/joshmgross/fix-include-hidden-files-input-node20
Code scanning - action / CodeQL-Build (push) Canceled after 0s
Ensure hidden files input is used
2024-09-02 12:45:52 -04:00
Josh Gross 2339de448d Ensure hidden files input is used 2024-09-02 12:29:26 -04:00
Ryan Troost 672174a5ba Merge pull request #606 from actions/v3/node16
Carry forward `v3/node16` updates to `v3/node20`
2024-08-29 11:55:17 -04:00
Rob Herley 97a0fba137 use node20 2024-03-18 15:56:53 +00:00
20 changed files with 795 additions and 3380 deletions
+5 -5
View File
@@ -20,12 +20,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Setup Node 16
uses: actions/setup-node@v3
- name: Setup Node 20
uses: actions/setup-node@v6
with:
node-version: 16.x
node-version: 20.x
cache: 'npm'
- name: Install dependencies
@@ -45,7 +45,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@v7
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: index.js
+4 -4
View File
@@ -17,11 +17,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v6
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
@@ -29,7 +29,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@v3
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -43,4 +43,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
name: Check licenses
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- run: npm ci
- name: Install licensed
run: |
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -29,5 +29,5 @@ inputs:
If false, hidden files will be excluded from the uploaded artifact.
default: 'false'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
+383 -2776
View File
File diff suppressed because it is too large Load Diff
+394 -589
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "upload-artifact",
"version": "3.0.0",
"version": "3.2.2",
"description": "Upload a build artifact that can be used by subsequent workflow steps",
"main": "dist/index.js",
"scripts": {
@@ -29,7 +29,7 @@
},
"homepage": "https://github.com/actions/upload-artifact#readme",
"dependencies": {
"@actions/artifact": "^1.1.2",
"@actions/artifact": "^1.1.3",
"@actions/core": "^1.10.0",
"@actions/glob": "^0.5.0",
"@actions/io": "^1.1.2"
@@ -50,4 +50,4 @@
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
}
+4 -1
View File
@@ -7,7 +7,10 @@ import {NoFileOptions} from './constants'
async function run(): Promise<void> {
try {
const inputs = getInputs()
const searchResult = await findFilesToUpload(inputs.searchPath)
const searchResult = await findFilesToUpload(
inputs.searchPath,
inputs.includeHiddenFiles
)
if (searchResult.filesToUpload.length === 0) {
// No files were found, different use cases warrant different types of behavior if nothing is found
switch (inputs.ifNoFilesFound) {