Skip to content

Commit

Permalink
Clean up old version extraction from CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frittentheke committed Sep 13, 2023
1 parent f1bf6ec commit 4685dca
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
with:
go-version: 1.21

- name: Extract EXPORTER_VERSION
id: extract_exporter_version
run: echo "::set-output name=version::$(cat VERSION)"

- name: Run Tests
run: go test ./...
release:
Expand All @@ -33,16 +29,11 @@ jobs:
with:
go-version: 1.21

- name: Extract EXPORTER_VERSION
id: extract_exporter_version
run: echo "::set-output name=version::$(cat VERSION)"

- name: Run Goreleaser
if: ${{ github.event_name != 'pull_request' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXPORTER_VERSION: ${{ steps.extract_exporter_version.outputs.version }}
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --clean
args: release --clean

0 comments on commit 4685dca

Please sign in to comment.