CI: add steps for single-executable release

This commit is contained in:
Jesse Chan
2020-11-17 22:00:46 +08:00
parent 5f54540482
commit c545a198d6
+11 -3
View File
@@ -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