Skip to content

Commit

Permalink
Fix for release action
Browse files Browse the repository at this point in the history
  • Loading branch information
warmans committed Jul 4, 2024
1 parent 726adf8 commit af60831
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/server-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/prometheus-aggregate-exporter-linux-amd64
asset_name: prometheus-aggregate-exporter-linux-amd64
asset_content_type: application/octet-stream

- name: upload darwin x86 artifact
uses: actions/upload-release-asset@v1
Expand All @@ -111,15 +112,7 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/prometheus-aggregate-exporter-darwin-amd64
asset_name: prometheus-aggregate-exporter-darwin-amd64

- name: Upload windows x86 artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/prometheus-aggregate-exporter-windows-amd64.exe
asset_name: prometheus-aggregate-exporter-windows-amd64.exe
asset_content_type: application/octet-stream

publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit af60831

Please sign in to comment.