Skip to content

release: fixed get STreams #31

release: fixed get STreams

release: fixed get STreams #31

Workflow file for this run

name: Main Auto Tag
on:
push:
branches:
- main
env:
APP_ENV: runner
jobs:
tagged-release:
name: "Main Auto Tag"
runs-on: "ubuntu-latest"
if: startsWith(github.event.head_commit.message, 'release:')
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Add ffmpeg dependency
uses: FedericoCarboni/setup-ffmpeg@v2
id: setup-ffmpeg
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test -v ./...
- uses: Paxx-RnD/incremental-tag@master
id: tag_step
with:
flag_branch: true
message: Bump version
prev_tag: 'v'
update_odoo_module_version: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get the newly created tag
run: echo "The new tag is ${{ steps.tag_step.outputs.tag }}"
- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag_step.outputs.tag }}
release_name: Release ${{ steps.tag_step.outputs.tag }}
draft: false
prerelease: false