Merge pull request 'feat: testing previous run id' (#14) from neoloc/artifacting_5 into master
All checks were successful
Deploy / deploy (push) Successful in 15s
All checks were successful
Deploy / deploy (push) Successful in 15s
Reviewed-on: https://git.query.consul/unkin/rpmbuilder/pulls/14
This commit is contained in:
commit
d2c15dea58
@ -17,20 +17,12 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create dist directory
|
||||
- name: Download Artifacts
|
||||
run: |
|
||||
mkdir -p /workspace/unkin/rpmbuilder/dist
|
||||
|
||||
- name: Download artifact
|
||||
id: download-artifact
|
||||
uses: dawidd6/action-download-artifact@v6
|
||||
with:
|
||||
workflow: build
|
||||
workflow_search: true
|
||||
workflow_conclusion: completed
|
||||
name: rpm
|
||||
path: /workspace/unkin/rpmbuilder/dist
|
||||
search_artifacts: true
|
||||
export PREVIOUS_RUN_ID=$((GITHUB_RUN_NUMBER - 1))
|
||||
curl -L -o /workspace/rpms.zip "https://git.query.consul/${GITHUB_REPOSITORY}/actions/runs/${PREVIOUS_RUN_ID}/artifacts/rpms"
|
||||
unzip /workspace/rpms.zip -d /workspace/unkin/rpmbuilder/dist
|
||||
|
||||
- name: Show RPMs
|
||||
run: |
|
||||
|
||||
@ -1 +1 @@
|
||||
5
|
||||
6
|
||||
|
||||
Loading…
Reference in New Issue
Block a user