Skip to content

Update Reports and Artifact Badge Data #94

Update Reports and Artifact Badge Data

Update Reports and Artifact Badge Data #94

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