Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koxudaxi committed May 10, 2020
1 parent 0fa57ee commit 73139b2
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,16 @@ jobs:
java-version: 1.8
- name: test
run: ./gradlew buildPlugin test jacocoTestReport
# TODO
#- name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# draft: false
# prerelease: false
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
Expand All @@ -46,6 +45,7 @@ jobs:
asset_path: ./build/distributions/poetry-pycharm-plugin.zip
asset_name: poetry-pycharm-plugin.zip
asset_content_type: application/zip
# TODO
# - name: Publish a plugin
# run: |
# curl --fail --header "Authorization: Bearer ${{secrets.JETBRAINS_TOKEN}}" \
Expand Down

0 comments on commit 73139b2

Please sign in to comment.