mirror of
https://github.com/actions/upload-pages-artifact.git
synced 2026-05-13 19:36:54 +00:00
Compare commits
10 Commits
v2.0.0
...
artifacts-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a5c144074 | ||
|
|
7e3f6bb53b | ||
|
|
257e666c05 | ||
|
|
0313a19afa | ||
|
|
1228e65686 | ||
|
|
eb31309b6c | ||
|
|
241a975ec2 | ||
|
|
ef95519d72 | ||
|
|
ecdd3edff7 | ||
|
|
e699324f6a |
5
.github/workflows/test-hosted-runners.yml
vendored
5
.github/workflows/test-hosted-runners.yml
vendored
@@ -31,12 +31,13 @@ jobs:
|
|||||||
- name: Upload Pages artifact
|
- name: Upload Pages artifact
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
name: pages-artifact-${{ matrix.os }}
|
||||||
path: artifact
|
path: artifact
|
||||||
|
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: github-pages
|
name: pages-artifact-${{ matrix.os }}
|
||||||
path: artifact2
|
path: artifact2
|
||||||
|
|
||||||
- name: Extract artifact
|
- name: Extract artifact
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ inputs:
|
|||||||
description: "Duration after which artifact will expire in days."
|
description: "Duration after which artifact will expire in days."
|
||||||
required: false
|
required: false
|
||||||
default: "1"
|
default: "1"
|
||||||
|
outputs:
|
||||||
|
artifact_id:
|
||||||
|
description: "The ID of the artifact that was uploaded."
|
||||||
|
value: ${{ steps.upload-artifact.outputs.artifact-id }}
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
@@ -63,7 +67,8 @@ runs:
|
|||||||
INPUT_PATH: ${{ inputs.path }}
|
INPUT_PATH: ${{ inputs.path }}
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
id: upload-artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.name }}
|
name: ${{ inputs.name }}
|
||||||
path: ${{ runner.temp }}/artifact.tar
|
path: ${{ runner.temp }}/artifact.tar
|
||||||
|
|||||||
Reference in New Issue
Block a user