Actions Artifacts v4 backend (#2224)
* Actions Artifacts v4 backend * lint * fix it now * remove protofile, to make linter not complain * sync changes * add delete * import auth test from gitea * add more tests * codecov ignore protobuf
This commit is contained in:
43
pkg/artifacts/testdata/v4/artifacts.yml
vendored
Normal file
43
pkg/artifacts/testdata/v4/artifacts.yml
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
on:
|
||||
push:
|
||||
jobs:
|
||||
_5:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: env
|
||||
- run: |
|
||||
github:
|
||||
${{ tojson(github) }}
|
||||
inputs:
|
||||
${{ tojson(inputs) }}
|
||||
matrix:
|
||||
${{ tojson(matrix) }}
|
||||
needs:
|
||||
${{ tojson(needs) }}
|
||||
strategy:
|
||||
${{ tojson(strategy) }}
|
||||
shell: cp {0} context.txt
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test
|
||||
path: context.txt
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: test
|
||||
path: out
|
||||
- run: cat out/context.txt
|
||||
- run: |
|
||||
No content
|
||||
shell: cp {0} context.txt
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test
|
||||
path: context.txt
|
||||
overwrite: true
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: test
|
||||
path: out2
|
||||
- run: cat out2/context.txt
|
||||
Reference in New Issue
Block a user