Created
September 15, 2022 21:04
-
-
Save KyMidd/7694a8a5bf56cd435c73de5d916e0c5b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Write envs to file, must write or variable isn't available in other jobs | |
| echo "short_region=$short_region" | tee -a $GITHUB_ENV env.vars | |
| echo "region=$region" | tee -a $GITHUB_ENV env.vars | |
| echo "account_id=$account_id" | tee -a $GITHUB_ENV env.vars | |
| echo "aws_assume_role_arn=$aws_assume_role_arn" | tee -a $GITHUB_ENV env.vars | |
| - name: Cache Envs | |
| id: cache-envs | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: env-cache-${{ github.run_id }} | |
| retention-days: 90 | |
| path: env.vars |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment