Skip to content

Commit

Permalink
change publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Neves committed Jan 7, 2022
1 parent 463d4a5 commit b25068f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deploy-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ jobs:

publish:
runs-on: ubuntu-latest
needs: build
steps:
- name: create release
id: create-release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
Expand All @@ -58,3 +60,17 @@ jobs:
release_name: Release from ${{ github.run_number }}
body: New release for ${{ github.sha }}. Release notes on the documentation site
draft: false
prerelease: false
- name: download artifact
uses: actions/download-artifact@v2
with:
name: zipped-bundle
- name: upload release actions/setup-python
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ./${{ github.sha }}.zip
asset_name: source_code_with_libraries.zip
asset_content_type: application/zip

0 comments on commit b25068f

Please sign in to comment.