Update operation description and add save option to certs.yaml #284
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: Generate Badge | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
genBadge: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps : | |
# -------------------------- | |
- name: Cache OpenAF runtime | |
uses: actions/cache@v3 | |
with: | |
key : oaf-nightly | |
path: /tmp/oaf | |
# ------------------------- | |
- uses: actions/checkout@v2 | |
# ------------------- | |
- name: Update badges | |
uses: openaf/ojob-action@v4 | |
with: | |
ojob: .github/ojobs/genBadge.yaml | |
dist: nightly | |
# ------------- | |
- name: Checkin | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
uses: openaf/ojob-action@v4 | |
with: | |
ojob: 'ojob.io/git/hub/contentIn' | |
args: 'message="Update\ badge\ {{date}}/{{time}}" title="Update\ badge" paths=.github/' | |
dist: nightly |