From 6a34987ba03e6f1a78e314c5ab1e9d453ffe31a3 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Fri, 24 Jul 2020 15:59:33 -0400 Subject: [PATCH] disable demo zip stuff --- .github/workflows/release.yml | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55ed3d2..7cf67c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,8 +8,14 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Build project (dummy) - run: zip my-artifact README.md # TODO - actually create all the binaries, artifacts etc +# - name: Build project (dummy) +# run: zip my-artifact README.md # TODO - actually create all the binaries, artifacts etc + + - name: Package RPM + uses: bpicode/github-action-fpm@master + with: + fpm_args: './build' + fpm_opts: '--debug -n mypackage -t deb -s dir' - name: Create Release id: create_release @@ -23,13 +29,13 @@ jobs: draft: true prerelease: false - - name: Upload binaries - id: upload_binaries - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./my-artifact.zip - asset_name: my-artifact.zip - asset_content_type: application/zip +# - name: Upload binaries +# id: upload_binaries +# uses: actions/upload-release-asset@v1 +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# with: +# upload_url: ${{ steps.create_release.outputs.upload_url }} +# asset_path: ./my-artifact.zip +# asset_name: my-artifact.zip +# asset_content_type: application/zip