Skip to content

Commit

Permalink
Try reworking dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Oct 16, 2024
1 parent 8ebcb60 commit c8fec31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
exit 0

- name: Setup Kosli cli
if: ${{ github.ref }}" == 'refs/heads/main' && (success() || failure())
if: "${{ github.ref }}" == 'refs/heads/main' && (success() || failure())
uses: kosli-dev/setup-cli-action@v2
with:
version:
${{ env.KOSLI_CLI_VERSION }}

- name: When on master, attest result to Kosli
if: ${{ github.ref }}" == 'refs/heads/main' && (success() || failure())
if: "${{ github.ref }}" == 'refs/heads/main' && (success() || failure())
run: |
echo "KOSLI_DRY_RUN=:${KOSLI_DRY_RUN}:"
KOSLI_COMPLIANT=$([ "${{ steps.wibble.outcome }}" == 'success' ] && echo true || echo false)
Expand Down

0 comments on commit c8fec31

Please sign in to comment.