Update Reports and Artifact Badge Data #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Reports | |
on: | |
schedule: | |
- cron: "50 20 * * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
if: github.repository == 'jvm-repo-rebuild/reproducible-central' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update Reports | |
run: ./bin/update-reproducibility-summary.sh update | |
- name: Setup JBang | |
uses: jbangdev/setup-jbang@main | |
- name: Checkout gh-pages | |
uses: actions/checkout@v4 | |
with: | |
ref: 'gh-pages' | |
path: 'gh-pages' | |
- name: Update APIs | |
run: | | |
wget https://raw.githubusercontent.com/hboutemy/mcmm-logs/refs/heads/master/outputTimestamp.txt | |
./bin/update_api.java | |
rm outputTimestamp.txt | |
- name: Commit Push | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git config --local user.email "reproducible-central@github.io" | |
git config --local user.name "Reproducible Central CI" | |
git add -A | |
git commit -m "nightly update of content" | |
git push | |
cd gh-pages | |
git config --local user.email "reproducible-central@github.io" | |
git config --local user.name "Reproducible Central CI" | |
git add -A | |
git commit -m "nightly update of content" | |
git push | |