1
0
mirror of https://github.com/kochetkov-ma/allure-server.git synced 2024-11-28 08:38:44 +02:00

fix action artifacts

This commit is contained in:
Maxim Kochetkov 2020-04-21 14:40:27 +03:00
parent bd23208699
commit ebe78168ce

View File

@ -23,7 +23,12 @@ jobs:
uses: eskatos/gradle-command-action@v1 uses: eskatos/gradle-command-action@v1
with: with:
gradle-version: current gradle-version: current
arguments: ' -Pversion=${{ secrets.GITHUB_TOKEN }} --stacktrace bootJar' arguments: ' -Pversion=${{ env.RELEASE_VERSION }} --stacktrace bootJar'
- name: Archive code coverage results
uses: actions/upload-artifact@v1
with:
name: allure-server-${{ env.RELEASE_VERSION }}.jar
path: build/libs/allure-server-${{ env.RELEASE_VERSION }}.jar
- name: Create Release - name: Create Release
id: create_release id: create_release
uses: actions/create-release@latest uses: actions/create-release@latest
@ -44,6 +49,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/libs/allure-server-${{ env.RELEASE_VERSION }}.jar asset_path: build/libs/allure-server-${{ env.RELEASE_VERSION }}.jar
asset_name: allure-server.jar asset_name: allure-server.jar
asset_content_type: application/jar asset_content_type: application/jar