1
0

releaser.yml 752 B

1234567891011121314151617181920212223242526
  1. name: releaser
  2. on:
  3. push:
  4. tags:
  5. - '*.*.*'
  6. jobs:
  7. ubuntubuild:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Checkout
  11. uses: actions/checkout@v2
  12. with:
  13. fetch-depth: 0
  14. - name: Build
  15. run: |
  16. sudo apt-get install -y build-essential gcc mingw-w64-tools zip gzip tar g++-mingw-w64-x86-64
  17. make
  18. tar czf linux-amd64.tar.gz mnencode mndecode
  19. - name: Upload release binaries
  20. uses: alexellis/upload-assets@0.4.0
  21. env:
  22. GITHUB_TOKEN: ${{ github.token }}
  23. with:
  24. asset_paths: '["linux-amd64.tar.gz"]'