Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
wavded committed Sep 14, 2021
1 parent 425fe7f commit d538ad7
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,14 @@ on:
push:
tags:
- '*'
pull_request:

jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
runs-on: ubuntu-latest

steps:
# - name: Install packages
# run: sudo apt-get install -y libpq-dev
- name: Install packages
run: sudo apt-get install -y libpq-dev

- uses: actions/checkout@v2
- uses: jiro4989/setup-nim-action@v1
Expand All @@ -28,14 +21,14 @@ jobs:
run: |
nim -d:release --opt:speed --parallelBuild:0 --nimcache:.cache c netdata_tsrelay.nim
# - name: Create artifact
# run: zip netdata_tsrelay_linux_x64.zip netdata_tsrelay
- name: Create artifact
run: zip netdata_tsrelay_linux_x64.zip netdata_tsrelay

# - name: Upload binaries to release
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: netdata_tsrelay_linux_x64.zip
# asset_name: netdata_tsrelay_${{ github.event.ref }}_linux_x64.zip
# tag: ${{ github.ref }}
# overwrite: true
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: netdata_tsrelay_linux_x64.zip
asset_name: netdata_tsrelay_linux_x64.zip
tag: ${{ github.ref }}
overwrite: true

0 comments on commit d538ad7

Please sign in to comment.