Skip to content

Build Sysmon Guide / Build PDF (pull_request) action runtime error #52

Description

@einlamye

Summary of the github action failure

  • Error: "This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v3."
  • File referenced: .github/workflows/build-guide.yml

Root cause

  • The workflow uses actions/upload-artifact@v3 in two places. v3 of the artifact actions has been deprecated and the runner rejects jobs that use it, causing the job to fail during action preparation.

Fix

  • Update the workflow to use the supported v4 of the upload-artifact action. Replace both uses of actions/upload-artifact@v3 with actions/upload-artifact@v4.

Exact changes to make (apply to .github/workflows/build-guide.yml)

Replace this block (first occurrence)

  • name: Upload master document artifact
    uses: actions/upload-artifact@v3
    with:
    name: master-document
    path: Build/Sysmon.md
    retention-days: 30

with

  • name: Upload master document artifact
    uses: actions/upload-artifact@v4
    with:
    name: master-document
    path: Build/Sysmon.md
    retention-days: 30

And replace this block (second occurrence)

  • name: Upload PDF artifact
    uses: actions/upload-artifact@v3
    with:
    name: sysmon-guide-pdf
    path: Build/SysmonGuide.pdf
    retention-days: 90

with

  • name: Upload PDF artifact
    uses: actions/upload-artifact@v4
    with:
    name: sysmon-guide-pdf
    path: Build/SysmonGuide.pdf
    retention-days: 90

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions