fix: Clientless oracle tick capable of being called by the Ojo oracle… #70
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow helps with creating docker images. | |
# This job will only be triggered when a tag (vX.X.x) is pushed | |
name: Release price-feeder | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.1 | |
cache: true | |
cache-dependency-path: go.sum | |
# Parse 'v*.*.*' semantic version from 'v*.*.*' and save to | |
# the $GITHUB_ENV environment variable. | |
- name: Set env | |
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | |
- name: Release | |
uses: goreleaser/goreleaser-action@v5 | |
with: | |
# Note, we have to pin to v0.179.0 due to newer releases enforcing | |
# correct semantic versioning even when '--skip-validate' is provided. | |
# | |
# Ref: https://github.com/goreleaser/goreleaser/pull/2503 | |
version: v0.179.0 | |
args: release --rm-dist --skip-validate | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GORELEASER_CURRENT_TAG: ${{ env.RELEASE_VERSION }} |