Skip to content

Commit

Permalink
Update version-index.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
i5heu committed May 8, 2024
1 parent b1364ea commit 39ad84c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/version-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,26 @@ on:
push:
tags:
- '*'

workflow_dispatch:

jobs:
go-get:
name: Install Go Package with Released Version
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Get Version
id: get_version
uses: battila7/get-version-action@v2.2.1

- name: Fetch Go Package Info
uses: fjogeleit/http-request-action@v1.15.5
with:
url: "https://proxy.golang.org/github.com/i5heu/ouroborosdb/@latest"
url: "https://proxy.golang.org/github.com/i5heu/ouroboros-db/@latest"

- name: Send Another HTTP Request
uses: fjogeleit/http-request-action@v1.15.5
with:
url: "https://proxy.golang.org/github.com/i5heu/ouroboros-db/@v/v{{ steps.get-version.outputs.version }}.info"
url: "https://proxy.golang.org/github.com/i5heu/ouroboros-db/@v/v${{ steps.get_version.outputs.version }}.info"

0 comments on commit 39ad84c

Please sign in to comment.