Skip to content

embed gin/echo swagger into sdk, p2 #18

embed gin/echo swagger into sdk, p2

embed gin/echo swagger into sdk, p2 #18

Workflow file for this run

name: Build go-aws-lambda-sdk
on:
workflow_dispatch:
push:
branches:
- 'main'
# allow only one concurrent build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: write
jobs:
prepare:
name: Prepare build
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- uses: actions/checkout@v4
- name: Get next version
uses: reecetech/version-increment@2023.10.2
id: version
with:
scheme: "calver"
increment: "patch"
use_api: "true"
build:
name: Build and release go-aws-lambda-sdk
runs-on: ubuntu-latest
needs: prepare
outputs:
cicd-bot-telegram-token: ${{ steps.prepare-secrets.outputs.cicd-bot-telegram-token }}
cicd-bot-telegram-chat-id: ${{ steps.prepare-secrets.outputs.cicd-bot-telegram-chat-id }}
steps:
- uses: actions/checkout@v4
- uses: fregante/setup-git-user@v2
- name: build and tag library release
shell: bash
env:
VERSION: ${{ needs.prepare.outputs.version }}
run: |-
git remote set-url origin https://${{ secrets.GITHUB_TOKEN }}@github.com/simple-container-com/go-aws-lambda-sdk.git
bash <(curl -Ls "https://welder.simple-container.com/welder.sh") make --timestamps
bash <(curl -Ls "https://welder.simple-container.com/welder.sh") deploy -e prod --timestamps