Skip to content

Commit

Permalink
disable demo zip stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tlimoncelli committed Jul 24, 2020
1 parent b07793f commit 6a34987
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 6a34987

Please sign in to comment.