Skip to content

Update GHA and golang version to the latest 1.22 #10

Update GHA and golang version to the latest 1.22

Update GHA and golang version to the latest 1.22 #10

---
name: Publish to GitHub
on:
push:
tags:
- 'v*'
jobs:
build-n-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
check-latest: true
- name: Build
run: |
./build.sh
- uses: marvinpinto/[email protected]
with:
# This token is provided by Actions, you do not need to create your own token
repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
prerelease: true
files: |
dynamotd-*