Skip to content

Update FlagFactory.java #2

Update FlagFactory.java

Update FlagFactory.java #2

name: sigrid-publish
on:
push:
branches:
- "master"
jobs:
sigridci:
runs-on: ubuntu-latest
steps:
- name: Dump github context
run: echo "$GITHUB_CONTEXT"
shell: bash
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download Sigrid CI
run: "git clone https://github.com/Software-Improvement-Group/sigridci.git sigridci"
- name: "Run Sigrid CI"
env:
SIGRID_CI_TOKEN: "${{ secrets.SIGRID_CI_TOKEN }}"
run: "./sigridci/sigridci/sigridci.py --customer sigridworkshop --system ${{ github.event.repository.name }} --source . --targetquality 3.0 --publish"
- name: "Save Sigrid CI results"
if: ${{ success() || failure() }}
uses: actions/upload-artifact@v2
with:
path: "sigrid-ci-output/**"
retention-days: 7
if-no-files-found: ignore