From 58e54b87667b3027cbf7d65e9ba329f0b5a5f295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Wed, 4 Mar 2020 07:17:16 +0100 Subject: [PATCH] Specify exact path for artifact in release with GH Actions --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a9162d9..477d4998 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: body: | This is the release ${{ github.ref }} created with GitHub actions" draft: false - prerelease: endsWith(${{ github.ref }}, "-dev") + prerelease: endsWith(${{ github.ref }}, '-dev') - name: Upload Release Asset id: upload-release-asset uses: actions/upload-release-asset@v1 @@ -32,7 +32,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. - asset_path: "./*.nvda-addon" + asset_path: ./clipContentsDesigner-11.0.nvda-addon asset_name: nvda-addon asset_content_type: application/nvda-addon \ No newline at end of file