File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929
3030 - name : Build Amazon Linux 2 compatible package
3131 run : |
32- python -m pip install --upgrade pip
3332 # パッケージディレクトリを作成
3433 mkdir -p package
3534 # Amazon Linux 2コンテナで依存関係をビルド
6463 echo "Deployment package created: lambda-deployment-package.zip"
6564 ls -la lambda-deployment-package.zip
6665
67- - name : Debug AWS Role ARN
68- run : |
69- echo "Current branch: ${{ github.ref }}"
70- echo "Branch condition: ${{ github.ref == 'refs/heads/main' }}"
71- echo "Using role ARN: ${{ github.ref == 'refs/heads/main' && secrets.AWS_ROLE_ARN_PROD || secrets.AWS_ROLE_ARN_DEV }}"
72- echo "AWS_ROLE_ARN_DEV exists: ${{ secrets.AWS_ROLE_ARN_DEV != '' }}"
73- echo "AWS_ROLE_ARN_PROD exists: ${{ secrets.AWS_ROLE_ARN_PROD != '' }}"
74- echo "AWS_ROLE_ARN_DEV length: ${{ secrets.AWS_ROLE_ARN_DEV != '' && 'non-empty' || 'empty' }}"
75- echo "AWS_ROLE_ARN_PROD length: ${{ secrets.AWS_ROLE_ARN_PROD != '' && 'non-empty' || 'empty' }}"
76-
7766 - name : Configure AWS credentials
7867 uses : aws-actions/configure-aws-credentials@v4
7968 with :
You can’t perform that action at this time.
0 commit comments