diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index c91737b..e61fcac 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -9,7 +9,8 @@ on: jobs: update-ofac-list: runs-on: ubuntu-latest - + outputs: + output1: ${{ steps.step1.outputs.test }} permissions: contents: write @@ -34,6 +35,7 @@ jobs: with: commit_message: "auto: Add new OFAC addresses" - - name: "Run if changes have been detected" - if: ${{ steps.bump_version.diff_flag.GIT_EXIT_CODE == 1 }} - uses: celo-org/compliance/.github/worklows/publish.yml@main + publish-npm-package: + needs: update-ofac-list + if: ${{ steps.diff_flag.outputs.GIT_EXIT_CODE == 1 }} + uses: .github/workflows/publish.yml@main diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0363503..e06e4d0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,8 +1,10 @@ name: Publish Package to npmjs + on: workflow_call: + jobs: - build: + publish: runs-on: ubuntu-latest permissions: