Skip to content

Commit

Permalink
test release
Browse files Browse the repository at this point in the history
  • Loading branch information
chaudharysaket committed May 3, 2024
1 parent dfbeb33 commit 21ff162
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/publish-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,21 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
cd extension
./publish-layer.sh
output=$(./publish-layer.sh)
echo "$output"
echo "LAYER_ARN=$(echo $output | grep 'ARN' | cut -d' ' -f2)" >> $GITHUB_ENV
echo "REGION=$(echo $output | grep 'Region' | cut -d' ' -f2)" >> $GITHUB_ENV
- name: Create Release
if: steps.extension-check-tag.outputs.match == 'true'
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.TAG_NAME }}
release_name: Release for ${{ env.TAG_NAME }}
body: |
Release generated by GitHub Actions run [${{ github.run_id }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).
Layer ARN: ${{ env.LAYER_ARN }}
Region: ${{ env.REGION }}
draft: false
prerelease: false

0 comments on commit 21ff162

Please sign in to comment.