mirror of
https://github.com/zoriya/flood.git
synced 2026-06-06 03:56:42 +00:00
CI: add steps for single-executable release
This commit is contained in:
@@ -28,13 +28,21 @@ jobs:
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- run: npm run build-pkg
|
||||
- run: git fetch origin ${{ github.ref }}
|
||||
- run: git for-each-ref ${{ github.ref }} --format="%(contents)" > body
|
||||
|
||||
- name: Create Release
|
||||
uses: actions/create-release@v1
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
name: Release ${{ github.ref }}
|
||||
body_path: body
|
||||
files: |
|
||||
dist-pkg/flood-linux
|
||||
dist-pkg/flood-macos
|
||||
dist-pkg/flood-win.exe
|
||||
|
||||
release-docker:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user