Compare commits

..

40 Commits

Author SHA1 Message Date
Rob Herley
1eb3cb2b3e Merge pull request #497 from actions/robherley/update-readme-limit
Update readme to reflect new artifact per job limit
2024-01-10 15:47:13 -05:00
Rob Herley
8688a86492 Update readme to reflect new artifact/job limit 2024-01-10 15:23:13 -05:00
Konrad Pabjan
73d8b66ede Support artifact-url output (#496)
* Support artifact-url output

* update dist/index.js

* Update license

* Simplify output

* Update README
2024-01-10 12:31:08 -05:00
shmuel
c320f57948 Update README.md (#492)
Use correct id of step
2024-01-10 10:00:06 -05:00
Rob Herley
cf8714cfea Merge pull request #482 from actions/robherley/add-migration-docs
Add migrations docs
2023-12-18 18:18:28 -05:00
Rob Herley
7f16e37e88 add migrations docs 2023-12-18 18:10:52 -05:00
Rob Herley
353073034f Merge pull request #468 from actions/robherley/misc-updates
Some cleanup
2023-12-14 15:14:19 -05:00
Rob Herley
6c139afa6f update imports and old v4-beta references 2023-12-14 15:08:24 -05:00
Rob Herley
c7d193f32e Merge pull request #466 from actions/v4-beta
upload-artifact@v4
2023-12-14 10:04:00 -05:00
Rob Herley
13131bb095 licensed cache 2023-12-13 16:02:47 -05:00
Rob Herley
4a6c273b98 Merge branch 'main' into v4-beta 2023-12-13 15:10:05 -05:00
Rob Herley
f391bb91a3 Merge pull request #465 from actions/robherley/v4-documentation
Update documentation for v4
2023-12-13 13:00:16 -05:00
Rob Herley
9653d03c4b Apply suggestions from code review
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2023-12-13 12:24:16 -05:00
Rob Herley
875b630764 add limitations section 2023-12-13 11:55:56 -05:00
Rob Herley
ecb21463e9 add compression example 2023-12-13 10:17:03 -05:00
Rob Herley
5e7604f84a trim some repeated info 2023-12-12 23:27:17 -05:00
Rob Herley
d6437d0758 naming 2023-12-12 23:24:58 -05:00
Rob Herley
1b56155703 s/v4-beta/v4/g 2023-12-12 23:21:37 -05:00
Rob Herley
6a5077f99b update docs and bump @actions/artifact 2023-12-12 23:19:52 -05:00
Vallie Joseph
2a6c27a029 Merge pull request #464 from actions/vmjoseph/v4-beta-more-descriptive-annotations
Consume latest @actions/toolkit
2023-12-11 14:32:50 -05:00
Vallie Joseph
9a179cdb8d adding error message improvement 2023-12-11 16:41:05 +00:00
Rob Herley
eba2a242da consume latest @actions/toolkit (#461) 2023-12-07 11:53:07 -08:00
Rob Herley
500e175644 Merge pull request #460 from actions/robherley/consume-latest-toolkit
Consume latest @actions/artifact
2023-12-04 15:47:37 -05:00
Rob Herley
83b889d09d consume latest @actions/artifact 2023-12-04 15:40:37 -05:00
Rob Herley
eeb333dcd2 Merge pull request #453 from actions/robherley/more-v4-improvements
More v4 Improvements: adjustable compression level and tweak concurrency
2023-11-21 10:58:16 -05:00
Rob Herley
fa39c94ed2 consume latest @actions/artifact from toolkit 2023-11-20 20:56:30 -05:00
Rob Herley
59ef34ab24 bump for more logs 2023-11-20 11:28:41 -05:00
Rob Herley
20bcd3b8cb add compression level input 2023-11-20 11:08:50 -05:00
Konrad Pabjan
aa5cae10db Add artifact-id output to v4-beta (#448)
* Add artifact-id to outputs

* ncc

---------

Co-authored-by: Rob Herley <robherley@github.com>
2023-10-26 12:05:31 -04:00
Rob Herley
f87a4089c5 Merge pull request #446 from robherley/v4-beta
[v4-beta] Bump linked artifact toolkit pkg
2023-10-16 14:56:45 -04:00
Rob Herley
50ad273a1a bump linked artifact toolkit pkg 2023-10-16 14:30:52 -04:00
Bethany
a8a3f3ad30 Merge pull request #436 from bethanyj28/main
Bump @actions/artifact version
2023-09-06 15:03:53 -04:00
Bethany
7b48769c03 update dependency cache 2023-09-06 11:46:07 -07:00
Bethany
66630398df update dist/index.js 2023-09-06 11:42:11 -07:00
Bethany
55e76b779d bump @actions/artifact version 2023-09-06 11:35:17 -07:00
Bethany
0ff37d0dc6 Merge pull request #430 from bethanyj28/main
Create v4-beta
2023-08-24 15:06:41 -04:00
Bethany
0597a567d0 update dist 2023-08-24 12:03:24 -07:00
Bethany
0f573694ad bump @actions/artifact to 2.0.0 2023-08-24 11:21:18 -07:00
Bethany
99700c1456 Update upload-artifact for @actions/artifact@v2 2023-08-24 11:01:45 -07:00
Luís Ferreira
65d862660a chore(github): remove trailing whitespaces (#313)
Signed-off-by: Luís Ferreira <contact@lsferreira.net>

Signed-off-by: Luís Ferreira <contact@lsferreira.net>
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2023-01-06 09:46:02 -05:00
136 changed files with 125178 additions and 4677 deletions

View File

@@ -10,9 +10,11 @@ on:
push: push:
branches: branches:
- main - main
paths-ignore:
- '**.md'
pull_request: pull_request:
branches: paths-ignore:
- main - '**.md'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@@ -20,33 +22,32 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup Node 16 - name: Setup Node 20
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 16.x node-version: 20.x
cache: 'npm' cache: 'npm'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Move the committed index.js file - name: Rebuild the dist/ directory
run: mv dist/index.js /tmp
- name: Rebuild with tsc
run: npm run build run: npm run build
- name: Rebuild the index.js file - name: Compare the expected and actual dist/ directories
run: npm run release run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
- name: Compare the expected and actual index.js files echo "Detected uncommitted changes after build. See status below:"
run: git diff --ignore-all-space dist/index.js /tmp/index.js git diff
exit 1
fi
id: diff id: diff
# If index.js was different than expected, upload the expected version as an artifact # 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' }} if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with: with:
name: index.js name: dist
path: dist/index.js path: dist/

View File

@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Check licenses name: Check licenses
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- run: npm ci - run: npm ci
- name: Install licensed - name: Install licensed
run: | run: |

View File

@@ -1,4 +1,5 @@
name: Test name: Test
on: on:
push: push:
branches: branches:
@@ -10,7 +11,6 @@ on:
- '**.md' - '**.md'
jobs: jobs:
build: build:
name: Build name: Build
@@ -23,12 +23,12 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Setup Node 16 - name: Setup Node 20
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 16.x node-version: 20.x
cache: 'npm' cache: 'npm'
- name: Install dependencies - name: Install dependencies
@@ -51,36 +51,29 @@ jobs:
run: | run: |
mkdir -p path/to/dir-1 mkdir -p path/to/dir-1
mkdir -p path/to/dir-2 mkdir -p path/to/dir-2
mkdir -p path/to/dir-3 mkdir -p path/to/dir-3
echo "Lorem ipsum dolor sit amet" > path/to/dir-1/file1.txt echo "Lorem ipsum dolor sit amet" > path/to/dir-1/file1.txt
echo "Hello world from file #2" > path/to/dir-2/file2.txt echo "Hello world from file #2" > path/to/dir-2/file2.txt
echo "This is a going to be a test for a large enough file that should get compressed with GZip. The @actions/artifact package uses GZip to upload files. This text should have a compression ratio greater than 100% so it should get uploaded using GZip" > path/to/dir-3/gzip.txt
# Upload a single file artifact # Upload a single file artifact
- name: 'Upload artifact #1' - name: 'Upload artifact #1'
uses: ./ uses: ./
with: with:
name: 'Artifact-A' name: 'Artifact-A-${{ matrix.runs-on }}'
path: path/to/dir-1/file1.txt path: path/to/dir-1/file1.txt
# Upload using a wildcard pattern, name should default to 'artifact' if not provided # Upload using a wildcard pattern
- name: 'Upload artifact #2' - name: 'Upload artifact #2'
uses: ./ uses: ./
with: with:
name: 'Artifact-Wildcard-${{ matrix.runs-on }}'
path: path/**/dir*/ path: path/**/dir*/
# Upload a directory that contains a file that will be uploaded with GZip # Upload a multi-path artifact
- name: 'Upload artifact #3' - name: 'Upload artifact #3'
uses: ./ uses: ./
with: with:
name: 'GZip-Artifact' name: 'Multi-Path-Artifact-${{ matrix.runs-on }}'
path: path/to/dir-3/
# Upload a directory that contains a file that will be uploaded with GZip
- name: 'Upload artifact #4'
uses: ./
with:
name: 'Multi-Path-Artifact'
path: | path: |
path/to/dir-1/* path/to/dir-1/*
path/to/dir-[23]/* path/to/dir-[23]/*
@@ -88,9 +81,9 @@ jobs:
# Download Artifact #1 and verify the correctness of the content # Download Artifact #1 and verify the correctness of the content
- name: 'Download artifact #1' - name: 'Download artifact #1'
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: 'Artifact-A' name: 'Artifact-A-${{ matrix.runs-on }}'
path: some/new/path path: some/new/path
- name: 'Verify Artifact #1' - name: 'Verify Artifact #1'
@@ -108,9 +101,9 @@ jobs:
# Download Artifact #2 and verify the correctness of the content # Download Artifact #2 and verify the correctness of the content
- name: 'Download artifact #2' - name: 'Download artifact #2'
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: 'artifact' name: 'Artifact-Wildcard-${{ matrix.runs-on }}'
path: some/other/path path: some/other/path
- name: 'Verify Artifact #2' - name: 'Verify Artifact #2'
@@ -126,32 +119,12 @@ jobs:
Write-Error "File contents of downloaded artifacts are incorrect" Write-Error "File contents of downloaded artifacts are incorrect"
} }
shell: pwsh shell: pwsh
# Download Artifact #3 and verify the correctness of the content
- name: 'Download artifact #3'
uses: actions/download-artifact@v3
with:
name: 'GZip-Artifact'
path: gzip/artifact/path
# Because a directory was used as input during the upload the parent directories, path/to/dir-3/, should not be included in the uploaded artifact
- name: 'Verify Artifact #3'
run: |
$gzipFile = "gzip/artifact/path/gzip.txt"
if(!(Test-Path -path $gzipFile))
{
Write-Error "Expected file do not exist"
}
if(!((Get-Content $gzipFile) -ceq "This is a going to be a test for a large enough file that should get compressed with GZip. The @actions/artifact package uses GZip to upload files. This text should have a compression ratio greater than 100% so it should get uploaded using GZip"))
{
Write-Error "File contents of downloaded artifact is incorrect"
}
shell: pwsh
# Download Artifact #4 and verify the correctness of the content
- name: 'Download artifact #4' - name: 'Download artifact #4'
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: 'Multi-Path-Artifact' name: 'Multi-Path-Artifact-${{ matrix.runs-on }}'
path: multi/artifact path: multi/artifact
- name: 'Verify Artifact #4' - name: 'Verify Artifact #4'

Binary file not shown.

BIN
.licenses/npm/@actions/github.dep.yml generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.licenses/npm/@azure/core-auth.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@azure/core-http.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@azure/core-lro.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@azure/core-paging.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@azure/core-tracing.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@azure/logger.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@azure/storage-blob.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@fastify/busboy.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@octokit/auth-token.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@octokit/core.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@octokit/endpoint.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@octokit/graphql.dep.yml generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.licenses/npm/@octokit/request.dep.yml generated Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.licenses/npm/@opentelemetry/api.dep.yml generated Normal file

Binary file not shown.

Binary file not shown.

BIN
.licenses/npm/@protobuf-ts/plugin.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@protobuf-ts/protoc.dep.yml generated Normal file

Binary file not shown.

Binary file not shown.

BIN
.licenses/npm/@protobuf-ts/runtime.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@types/node-fetch.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/@types/node.dep.yml generated Normal file

Binary file not shown.

Binary file not shown.

BIN
.licenses/npm/@types/tunnel.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/archiver-utils-2.1.0.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/archiver-utils-3.0.4.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/archiver.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/async.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/asynckit.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/base64-js.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/before-after-hook.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/binary.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/bl.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/bottleneck.dep.yml generated Normal file

Binary file not shown.

Binary file not shown.

BIN
.licenses/npm/buffer-crc32.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/buffer.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/buffers.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/camel-case.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/chainsaw.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/combined-stream.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/commander.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/compress-commons.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/core-util-is.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/crc-32.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/crc32-stream.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/crypto.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/delayed-stream.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/dot-object.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/end-of-stream.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/events.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/form-data.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/fs-constants.dep.yml generated Normal file

Binary file not shown.

Binary file not shown.

BIN
.licenses/npm/graceful-fs.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/ieee754.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/is-plain-object.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/isarray.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/jwt-decode.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/lazystream.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/lodash.defaults.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/lodash.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/lodash.difference.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/lodash.flatten.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/lodash.isplainobject.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/lodash.union.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/lower-case.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/mime-db.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/mime-types.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/minimatch-5.1.6.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/minimist.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/mkdirp.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/no-case.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/node-fetch.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/normalize-path.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/pascal-case.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/path-to-regexp.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/prettier.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/process-nextick-args.dep.yml generated Normal file

Binary file not shown.

BIN
.licenses/npm/process.dep.yml generated Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More