Skip to content

Commit d81f30e

Browse files
authored
ci: Update CI config & release (#730)
1 parent 6598af1 commit d81f30e

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/releases.yml

+1-11
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ jobs:
1313
- uses: 'actions/checkout@v4'
1414
with:
1515
fetch-depth: 0
16-
- uses: earthly/actions-setup@v1
17-
with:
18-
github-token: ${{ inputs.token }}
19-
version: "latest"
20-
use-cache: true
2116
- name: Setup Env
2217
uses: ./.github/actions/env
2318
with:
@@ -35,9 +30,4 @@ jobs:
3530
GITHUB_TOKEN: ${{ secrets.NUMARY_GITHUB_TOKEN }}
3631
SPEAKEASY_API_KEY: ${{ secrets.SPEAKEASY_API_KEY }}
3732
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
38-
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
39-
- name: Add the OpenAPI file to the release assets
40-
run: >
41-
gh release upload ${{github.ref_name}} ./openapi.yaml#openapi.yaml
42-
env:
43-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

.goreleaser.yml

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ builds:
4242

4343
release:
4444
prerelease: auto
45+
extra_files:
46+
- glob: openapi.yaml
4547
footer: |
4648
## What to do next?
4749
- Read the [documentation](https://docs.formance.com/)

0 commit comments

Comments
 (0)