Merge pull request #78 from konradpabjan/main

Upload pages artifact with upload-artifact v4-beta
This commit is contained in:
James M. Greene
2023-10-27 11:48:18 -05:00
committed by GitHub
2 changed files with 9 additions and 3 deletions

View File

@@ -31,12 +31,13 @@ jobs:
- name: Upload Pages artifact
uses: ./
with:
name: pages-artifact-${{ matrix.os }}
path: artifact
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4-beta
with:
name: github-pages
name: pages-artifact-${{ matrix.os }}
path: artifact2
- name: Extract artifact

View File

@@ -14,6 +14,10 @@ inputs:
description: "Duration after which artifact will expire in days."
required: false
default: "1"
outputs:
artifact_id:
description: "The ID of the artifact that was uploaded."
value: ${{ steps.upload-artifact.outputs.artifact-id }}
runs:
using: composite
steps:
@@ -63,7 +67,8 @@ runs:
INPUT_PATH: ${{ inputs.path }}
- name: Upload artifact
uses: actions/upload-artifact@v3
id: upload-artifact
uses: actions/upload-artifact@v4-beta
with:
name: ${{ inputs.name }}
path: ${{ runner.temp }}/artifact.tar