updating ek.yml for set-output and other deprecation warnings
@@ -58,7 +58,7 @@ jobs:
go-version: ${{ env.SETUP_GO_VERSION }}
- name: Cache Tools
- uses: actions/cache@v3.0.8
+ uses: actions/cache@v3
with:
path: ${{ github.workspace }}/tools
key: ${{ runner.os }}-tools
@@ -110,7 +110,7 @@ jobs:
sudo mv eksctl /usr/local/bin
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@v1
+ uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-access-key-id: ${{ github.event.inputs.aws_id || secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ github.event.inputs.aws_key || secrets.AWS_SECRET_ACCESS_KEY }}
@@ -120,7 +120,7 @@ jobs:
id: create-cluster
run: |
id=$RANDOM
- echo '::set-output name=ID::'$id
+ echo "ID=$id" >> $GITHUB_OUTPUT
eksctl create cluster --name=epinio-ci$id \
--region=${{ env.AWS_REGION }} \
--nodes=2 \
