[bug] upload-artifact usage not possible #1

Closed
opened 2023-04-13 08:36:23 +00:00 by danielfomin · 1 comment

What happened?

Hello,
Uploading a file using the upload-artifact action creates an error.

What did you expect to happen?

It should have uploaded the file and show it in the summary

How can we reproduce it?

Upload of a file using this action. Runner version: v0.1.1-1-gc248520

Anything else we need to know?

workflow.yaml:

name: npm-releaser

on:
  [push]
jobs:
  nodereleaser:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - run: git fetch --force --tags
      - uses: actions/setup-node@v3
        with:
          node-version: '19.8.1'
      - run: npm install -g yo generator-joplin
      - run: npm install --include=dev
        env:
          NODE_OPTIONS: --openssl-legacy-provider
      - run: npm run dist
        env:
          NODE_OPTIONS: --openssl-legacy-provider
      - uses: actions/upload-artifact@v3
        with:
          name: markmap-plugin
          path: publish/de.fomin.markmap.jpl

Error:

...
Artifact name is valid!
::debug::Artifact Url: https://git.example.com/api/actions_pipeline/_apis/pipelines/workflows/6/artifacts?api-version=6.0-preview
Create Artifact Container - Error is not retryable
##### Begin Diagnostic HTTP information #####
Status Code: 404
Status Message: Not Found
Header Information: {
  "server": "nginx",
  "date": "Thu, 13 Apr 2023 08:16:36 GMT",
  "content-type": "text/plain;charset=utf-8",
  "content-length": "11",
  "connection": "keep-alive",
  "keep-alive": "timeout=10",
  "cache-control": "max-age=0, private, must-revalidate, no-transform",
  "set-cookie": [
    "i_like_gitea=...; Path=/; HttpOnly; SameSite=Lax",
    "_csrf=...; Path=/; Expires=Fri, 14 Apr 2023 08:16:36 GMT; HttpOnly; SameSite=Lax",
    "macaron_flash=; Path=/; Max-Age=0; HttpOnly; SameSite=Lax"
  ],
  "x-content-type-options": "nosniff",
  "x-frame-options": "SAMEORIGIN"
}
###### End Diagnostic HTTP information ######
##### Begin Diagnostic HTTP information #####
Status Code: 404
Status Message: Not Found
Header Information: {
  "server": "nginx",
  "date": "Thu, 13 Apr 2023 08:16:36 GMT",
  "content-type": "text/plain;charset=utf-8",
  "content-length": "11",
  "connection": "keep-alive",
  "keep-alive": "timeout=10",
  "cache-control": "max-age=0, private, must-revalidate, no-transform",
  "set-cookie": [
    "i_like_gitea=...; Path=/; HttpOnly; SameSite=Lax",
    "_csrf=...; Path=/; Expires=Fri, 14 Apr 2023 08:16:36 GMT; HttpOnly; SameSite=Lax",
    "macaron_flash=; Path=/; Max-Age=0; HttpOnly; SameSite=Lax"
  ],
  "x-content-type-options": "nosniff",
  "x-frame-options": "SAMEORIGIN"
}
###### End Diagnostic HTTP information ######
::error::Create Artifact Container failed: Artifact service responded with 404

What version of the action are you using?

v3

What are your runner environments?

self-hosted, linux

Are you on GitHub Enterprise Server? If so, what version?

No response

### What happened? Hello, Uploading a file using the upload-artifact action creates an error. ### What did you expect to happen? It should have uploaded the file and show it in the summary ### How can we reproduce it? Upload of a file using this action. Runner version: v0.1.1-1-gc248520 ### Anything else we need to know? workflow.yaml: ``` name: npm-releaser on: [push] jobs: nodereleaser: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - run: git fetch --force --tags - uses: actions/setup-node@v3 with: node-version: '19.8.1' - run: npm install -g yo generator-joplin - run: npm install --include=dev env: NODE_OPTIONS: --openssl-legacy-provider - run: npm run dist env: NODE_OPTIONS: --openssl-legacy-provider - uses: actions/upload-artifact@v3 with: name: markmap-plugin path: publish/de.fomin.markmap.jpl ``` Error: ``` ... Artifact name is valid! ::debug::Artifact Url: https://git.example.com/api/actions_pipeline/_apis/pipelines/workflows/6/artifacts?api-version=6.0-preview Create Artifact Container - Error is not retryable ##### Begin Diagnostic HTTP information ##### Status Code: 404 Status Message: Not Found Header Information: { "server": "nginx", "date": "Thu, 13 Apr 2023 08:16:36 GMT", "content-type": "text/plain;charset=utf-8", "content-length": "11", "connection": "keep-alive", "keep-alive": "timeout=10", "cache-control": "max-age=0, private, must-revalidate, no-transform", "set-cookie": [ "i_like_gitea=...; Path=/; HttpOnly; SameSite=Lax", "_csrf=...; Path=/; Expires=Fri, 14 Apr 2023 08:16:36 GMT; HttpOnly; SameSite=Lax", "macaron_flash=; Path=/; Max-Age=0; HttpOnly; SameSite=Lax" ], "x-content-type-options": "nosniff", "x-frame-options": "SAMEORIGIN" } ###### End Diagnostic HTTP information ###### ##### Begin Diagnostic HTTP information ##### Status Code: 404 Status Message: Not Found Header Information: { "server": "nginx", "date": "Thu, 13 Apr 2023 08:16:36 GMT", "content-type": "text/plain;charset=utf-8", "content-length": "11", "connection": "keep-alive", "keep-alive": "timeout=10", "cache-control": "max-age=0, private, must-revalidate, no-transform", "set-cookie": [ "i_like_gitea=...; Path=/; HttpOnly; SameSite=Lax", "_csrf=...; Path=/; Expires=Fri, 14 Apr 2023 08:16:36 GMT; HttpOnly; SameSite=Lax", "macaron_flash=; Path=/; Max-Age=0; HttpOnly; SameSite=Lax" ], "x-content-type-options": "nosniff", "x-frame-options": "SAMEORIGIN" } ###### End Diagnostic HTTP information ###### ::error::Create Artifact Container failed: Artifact service responded with 404 ``` ### What version of the action are you using? v3 ### What are your runner environments? self-hosted, linux ### Are you on GitHub Enterprise Server? If so, what version? _No response_
Owner

Thanks for reporting.

Gitea doesn't support artifacts yet, see https://github.com/go-gitea/gitea/pull/22738

And please note that this is just a mirror of https://github.com/actions/upload-artifact, so please report to https://github.com/go-gitea/gitea or https://gitea.com/gitea/act_runner if you have any other problems, thanks.

Thanks for reporting. Gitea doesn't support artifacts yet, see https://github.com/go-gitea/gitea/pull/22738 And please note that this is just a mirror of https://github.com/actions/upload-artifact, so please report to https://github.com/go-gitea/gitea or https://gitea.com/gitea/act_runner if you have any other problems, thanks.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: actions/upload-artifact#1
No description provided.