Skip to content

add go modules, some cleanup #1

add go modules, some cleanup

add go modules, some cleanup #1

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
release:
name: Build and Release
runs-on: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Release Version
id: version
run: |
export RELEASE_VERSION=v0.0.${{ github.run_number }}
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
echo "release_version=$RELEASE_VERSION" >> $GITHUB_OUTPUT
- name: create tag
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git tag -a $RELEASE_VERSION -m $RELEASE_VERSION
git push origin $RELEASE_VERSION