Actions Artifact not working - Status Message: Not Found

Hi there,

I was testing the artifact option, to move /build files between jobs, but it seems not to work. I

Consider this simple action.yml file that produce a /build folder. (but it even does not work with a simple .txt file).

name: Deployment to DO
run-name: Deploy to DO by @${{ gitea.actor }} ${{ gitea.actor }}
on: [push]
jobs:
  Build:
    runs-on: root
    steps:
      - name: Check out repository code
        uses: actions/checkout@v3    
      - run: yarn install
      - run: yarn build
      - uses: actions/upload-artifact@v2
        with:
          name: build-artifact
          path: build/

The output of the actions is always

1
With the provided path, there will be 29685 files uploaded
2
::warning::There are over 10,000 files in this artifact, consider creating an archive before upload to improve the upload performance.
3
Starting artifact upload
4
For more detailed logs during the artifact upload process, enable step-debugging: https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging
5
Artifact name is valid!
6
Create Artifact Container - Error is not retryable
7
##### Begin Diagnostic HTTP information #####
8
Status Code: 404
9
Status Message: Not Found
10
Header Information: {
11
  "server": "nginx",
12
  "date": "Mon, 15 May 2023 11:38:07 GMT",
13
  "content-type": "text/plain;charset=utf-8",
14
  "content-length": "11",
15
  "connection": "close",
16
  "cache-control": "max-age=0, private, must-revalidate, no-transform",
17
  "set-cookie": [
18
    "i_like_gitea=c222bfabe468c0c5; Path=/; HttpOnly; SameSite=Lax",
19
    "_csrf=J780QaNQD25zw-Pc8Cl3oWnaxRI6MTY4NDE1MDY4NzI1MjM5MTE2OQ; Path=/; Expires=Tue, 16 May 2023 11:38:07 GMT; HttpOnly; SameSite=Lax",
20
    "macaron_flash=; Path=/; Max-Age=0; HttpOnly; SameSite=Lax"
21
  ],
22
  "x-content-type-options": "nosniff",
23
  "x-frame-options": "SAMEORIGIN"
24
}
25
###### End Diagnostic HTTP information ######
26
##### Begin Diagnostic HTTP information #####
27
Status Code: 404
28
Status Message: Not Found
29
Header Information: {
30
  "server": "nginx",
31
  "date": "Mon, 15 May 2023 11:38:07 GMT",
32
  "content-type": "text/plain;charset=utf-8",
33
  "content-length": "11",
34
  "connection": "close",
35
  "cache-control": "max-age=0, private, must-revalidate, no-transform",
36
  "set-cookie": [
37
    "i_like_gitea=c222bfabe468c0c5; Path=/; HttpOnly; SameSite=Lax",
38
    "_csrf=J780QaNQD25zw-Pc8Cl3oWnaxRI6MTY4NDE1MDY4NzI1MjM5MTE2OQ; Path=/; Expires=Tue, 16 May 2023 11:38:07 GMT; HttpOnly; SameSite=Lax",
39
    "macaron_flash=; Path=/; Max-Age=0; HttpOnly; SameSite=Lax"
40
  ],
41
  "x-content-type-options": "nosniff",
42
  "x-frame-options": "SAMEORIGIN"
43
}
44
###### End Diagnostic HTTP information ######
45
::error::Create Artifact Container failed: Artifact service responded with 404

Is there a config that I missed?

1 Like

Looks like it’s not implemented yet and will come in 1.20.