From 5575bc3ac2b73c8ff0123010382201ae13adf622 Mon Sep 17 00:00:00 2001 From: Jui-Nan Lin Date: Fri, 7 May 2021 18:24:18 +0800 Subject: [PATCH] feat(actions): modify dist path --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25b111b61d..f7ae8ee1b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: build/bbgo-slim-${{ steps.get_version.outputs.VERSION }}-linux-amd64.tar.gz + asset_path: dist/${{ steps.get_version.outputs.VERSION }}/bbgo-slim-${{ steps.get_version.outputs.VERSION }}-linux-amd64.tar.gz asset_name: bbgo-slim-${{ steps.get_version.outputs.VERSION }}-linux-amd64.tar.gz asset_content_type: application/octet-stream - name: Upload slim Linux arm64 @@ -60,7 +60,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: build/bbgo-slim-${{ steps.get_version.outputs.VERSION }}-linux-arm64.tar.gz + asset_path: dist/${{ steps.get_version.outputs.VERSION }}/bbgo-slim-${{ steps.get_version.outputs.VERSION }}-linux-arm64.tar.gz asset_name: bbgo-slim-${{ steps.get_version.outputs.VERSION }}-linux-arm64.tar.gz asset_content_type: application/octet-stream - name: Upload slim Darwin amd64 @@ -69,7 +69,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: build/bbgo-slim-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.tar.gz + asset_path: dist/${{ steps.get_version.outputs.VERSION }}/bbgo-slim-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.tar.gz asset_name: bbgo-slim-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.tar.gz asset_content_type: application/octet-stream - name: Upload slim Darwin arm64 @@ -78,7 +78,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: build/bbgo-slim-${{ steps.get_version.outputs.VERSION }}-darwin-arm64.tar.gz + asset_path: dist/${{ steps.get_version.outputs.VERSION }}/bbgo-slim-${{ steps.get_version.outputs.VERSION }}-darwin-arm64.tar.gz asset_name: bbgo-slim-${{ steps.get_version.outputs.VERSION }}-darwin-arm64.tar.gz asset_content_type: application/octet-stream - name: Upload Linux amd64 @@ -87,7 +87,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: build/bbgo-${{ steps.get_version.outputs.VERSION }}-linux-amd64.tar.gz + asset_path: dist/${{ steps.get_version.outputs.VERSION }}/bbgo-${{ steps.get_version.outputs.VERSION }}-linux-amd64.tar.gz asset_name: bbgo-${{ steps.get_version.outputs.VERSION }}-linux-amd64.tar.gz asset_content_type: application/octet-stream - name: Upload Linux arm64 @@ -96,7 +96,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: build/bbgo-${{ steps.get_version.outputs.VERSION }}-linux-arm64.tar.gz + asset_path: dist/${{ steps.get_version.outputs.VERSION }}/bbgo-${{ steps.get_version.outputs.VERSION }}-linux-arm64.tar.gz asset_name: bbgo-${{ steps.get_version.outputs.VERSION }}-linux-arm64.tar.gz asset_content_type: application/octet-stream - name: Upload Darwin amd64 @@ -105,7 +105,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: build/bbgo-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.tar.gz + asset_path: dist/${{ steps.get_version.outputs.VERSION }}/bbgo-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.tar.gz asset_name: bbgo-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.tar.gz asset_content_type: application/octet-stream - name: Upload Darwin arm64 @@ -114,6 +114,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: build/bbgo-${{ steps.get_version.outputs.VERSION }}-darwin-arm64.tar.gz + asset_path: dist/${{ steps.get_version.outputs.VERSION }}/bbgo-${{ steps.get_version.outputs.VERSION }}-darwin-arm64.tar.gz asset_name: bbgo-${{ steps.get_version.outputs.VERSION }}-darwin-arm64.tar.gz asset_content_type: application/octet-stream