github.1485827954.workers.dev/nektos/act@v0.2.63/pkg/artifacts/testdata/v4/artifacts.yml (about)

     1  on:
     2    push:
     3  jobs:
     4    _5:
     5      runs-on: ubuntu-latest
     6      steps: 
     7      - run: env
     8      - run: |
     9          github:
    10          ${{ tojson(github) }}
    11          inputs:
    12          ${{ tojson(inputs) }}
    13          matrix:
    14          ${{ tojson(matrix) }}
    15          needs:
    16          ${{ tojson(needs) }}
    17          strategy:
    18          ${{ tojson(strategy) }}            
    19        shell: cp {0} context.txt
    20      - uses: actions/upload-artifact@v4
    21        with:
    22          name: test
    23          path: context.txt
    24  
    25      - uses: actions/download-artifact@v4
    26        with:
    27          name: test
    28          path: out
    29      - run: cat out/context.txt
    30      - run: |
    31          No content        
    32        shell: cp {0} context.txt
    33      - uses: actions/upload-artifact@v4
    34        with:
    35          name: test
    36          path: context.txt
    37          overwrite: true
    38    
    39      - uses: actions/download-artifact@v4
    40        with:
    41          name: test
    42          path: out2
    43      - run: cat out2/context.txt