Skip to content

v1.7.1

v1.7.1 #32

Workflow file for this run

name: Release
# The release should be created by release-please
on:
release:
types: [published]
# FIXME(kolesnikovae):
# # for manual invocations
# workflow_dispatch:
# # not really used
# inputs:
# # the release tag automatically created
# tag_name:
# type: string
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: asdf_install
uses: asdf-vm/actions/install@v3.0.2
- run: make clean
- run: make build-amd
- run: make build-arm
- run: make package-amd
- run: make package-arm
# Release the lambda extension and update the github release
- run: deno run --allow-write --allow-env --allow-read --allow-run scripts/publish.ts --name=pyroscope-lambda-extension --log-level=DEBUG --table-file=release.tmp.md --dry-run=false
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# use tag_name if available (ie manual invokation)
- if: ${{ inputs.tag_name == '' }}
id: update_release_auto
uses: tubone24/update_release@v1.3.1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
body_path: release.tmp.md
is_append_body: true
- if: ${{ inputs.tag_name != '' }}
id: update_release_manual
uses: tubone24/update_release@v1.3.1
env:
GITHUB_TOKEN: ${{ github.token }}
TAG_NAME: ${{ inputs.tag_name }}
with:
body_path: release.tmp.md
is_append_body: true