actions are terrible... did it really just balk at a single quote? #19
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: Pull Request or Push | |
on: | |
push: | |
branches: | |
- 'main' # Run on pushes to main | |
tags-ignore: | |
- '*' # Ignore pushes to tags | |
pull_request: | |
jobs: | |
encode_secrets: | |
name: Encode Secrets | |
runs-on: ubuntu-latest | |
outputs: | |
TEST_ENV_VARS: ${{ steps.encode.outputs.TEST_ENV_VARS }} | |
steps: | |
- name: Encode AZURE_* secrets | |
id: encode | |
run: echo TEST_ENV_VARS="$(echo -e "EITR_ID=${{ secrets.EITR_ID }}\nEITR_SECRET=${{ secrets.EITR_SECRET }}" | base64 -w0)" >> $GITHUB_OUTPUT | |
call_central_workflow: | |
name: CI | |
uses: eitrtechnologies/test-github-actions-central/.github/workflows/ci.yml@main | |
needs: encode_secrets | |
with: | |
TEST_ENV_VARS: ${{ needs.encode_secrets.outputs.TEST_ENV_VARS }} |