mirror of
https://code.forgejo.org/forgejo/download-artifact.git
synced 2024-12-13 01:37:39 +01:00
a327a9c763
Node 12 has an end of life on April 30, 2022. This PR updates the default runtime to [node16](https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/), rather then node12. This is supported on all Actions Runners v2.285.0 or later.
13 lines
349 B
YAML
13 lines
349 B
YAML
name: 'Download a Build Artifact'
|
|
description: 'Download a build artifact that was previously uploaded in the workflow by the upload-artifact action'
|
|
author: 'GitHub'
|
|
inputs:
|
|
name:
|
|
description: 'Artifact name'
|
|
required: false
|
|
path:
|
|
description: 'Destination path'
|
|
required: false
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/index.js'
|