Skip to content

Commit

Permalink
print echo statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Shruti Tirpude authored and Shruti Tirpude committed Jun 11, 2024
1 parent b48109c commit 6f7eb4a
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@ name: Publish

on:
push:
branches: [ main ]

branches: [main]

jobs:
build-test:
name: Build & Test
uses: ./.github/workflows/build_and_test.yml


secureli-release:
name: GH Release
needs: [ build-test ]
needs: [build-test]
runs-on: ubuntu-latest
environment: publish
concurrency: release
Expand Down Expand Up @@ -70,17 +68,17 @@ jobs:
- name: Display Output
run: echo uploaded=${{ steps.upload.outputs.uploaded }}


secureli-publish:
name: PyPI Publish
if: needs.secureli-release.outputs.uploaded == 'true'
runs-on: ubuntu-latest
needs: secureli-release
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Display Inputs
run: echo uploaded=${{ needs.secureli-release.outputs.uploaded }}
run: echo "This is a multi-line"
echo uploaded=${{ needs.secureli-release.outputs.uploaded }}

- name: Checkout seCureLI Repo
uses: actions/checkout@v4
Expand All @@ -104,7 +102,6 @@ jobs:
with:
skip-existing: true


deploy:
name: Upload Homebrew Formula
if: needs.secureli-release.outputs.uploaded == 'true'
Expand Down Expand Up @@ -141,10 +138,9 @@ jobs:
GH_TOKEN: ${{ steps.app_token.outputs.token }}
run: ./scripts/secureli-deployment.sh


smoke-testing:
name: Smoke Testing
needs: [ build-test, secureli-release, secureli-publish, deploy ]
needs: [build-test, secureli-release, secureli-publish, deploy]
if: |
always() &&
(needs.secureli-publish.result == 'success' || needs.secureli-publish.result == 'skipped') &&
Expand Down

0 comments on commit 6f7eb4a

Please sign in to comment.