ci: archive logs
This commit is contained in:
parent
426bd3864a
commit
8999a65f4e
7
.github/workflows/images-centos.yml
vendored
7
.github/workflows/images-centos.yml
vendored
@ -75,6 +75,13 @@ jobs:
|
||||
|
||||
ssh root@$IP systemctl is-active images-centos
|
||||
|
||||
- name: Archive logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: images-centos-log
|
||||
path: images-centos.log
|
||||
|
||||
- name: delete droplet
|
||||
if: always()
|
||||
run: doctl compute droplet delete -f ga-out-of-tree-images-centos-$GITHUB_SHA
|
||||
|
7
.github/workflows/images-oraclelinux.yml
vendored
7
.github/workflows/images-oraclelinux.yml
vendored
@ -73,6 +73,13 @@ jobs:
|
||||
|
||||
ssh root@$IP systemctl is-active images-oraclelinux
|
||||
|
||||
- name: Archive logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: images-oraclelinux-log
|
||||
path: images-oraclelinux.log
|
||||
|
||||
- name: delete droplet
|
||||
if: always()
|
||||
run: doctl compute droplet delete -f ga-out-of-tree-images-oraclelinux-$GITHUB_SHA
|
||||
|
Loading…
Reference in New Issue
Block a user