Skip to content

Try again

Try again #102

Workflow file for this run

name: build
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.23]
steps:
- name: Check out Source
uses: actions/checkout@v4
- name: Retrieve latest tag
id: latest-tag
run: echo "LATEST_TAG=$(git for-each-ref --sort=-version:refname --format='%(refname:lstrip=2)' refs/tags | head -1)" >> "GITHUB_OUTPUT"
- name: Save latest tag
env:
LATEST_TAG: ${{ steps.latest-tag.outputs.LATEST_TAG }}
run: echo "$LATEST_TAG"