Skip to content

Commit

Permalink
more intelligent artifact management (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
therealryan authored Aug 11, 2022
1 parent 2df22fc commit bc52110
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,18 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
with:
ref: pages

- name: Shuffle
run: |
rm -rf mutation/oldest || true;
mv mutation/older mutation/oldest || true;
mv mutation/latest mutation/older || true;
- name: Download
uses: actions/download-artifact@v3
with:
path: mutation/latest

- name: Ingest
run: perl regen_index.pl >> $GITHUB_STEP_SUMMARY

- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,18 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
with:
ref: pages

- name: Shuffle
run: |
rm -rf execution/oldest || true;
mv execution/older execution/oldest || true;
mv execution/latest execution/older || true;
- name: Download
uses: actions/download-artifact@v3
with:
path: execution/latest

- name: Ingest
run: perl regen_index.pl >> $GITHUB_STEP_SUMMARY

- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4

0 comments on commit bc52110

Please sign in to comment.