From f676fdb42a9f9b39ea1a1401b8b4c34f0ce0735c Mon Sep 17 00:00:00 2001 From: area363 Date: Wed, 27 Mar 2024 11:36:09 +0900 Subject: [PATCH] update s3 plugin path --- .github/workflows/lib9c_plugin_build_and_push_s3.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lib9c_plugin_build_and_push_s3.yaml b/.github/workflows/lib9c_plugin_build_and_push_s3.yaml index 041d349dfc..bed4d5c50c 100644 --- a/.github/workflows/lib9c_plugin_build_and_push_s3.yaml +++ b/.github/workflows/lib9c_plugin_build_and_push_s3.yaml @@ -4,7 +4,8 @@ on: push: branches: - development - - main + - main + - rc* workflow_dispatch: jobs: @@ -22,7 +23,7 @@ jobs: with: dotnet-version: 6.0.400 - name: Publish Lib9c.Plugin - run: dotnet publish ./.Lib9c.Plugin/Lib9c.Plugin.csproj -o out -r ${{ matrix.runtime }} + run: aws s3 cp ${{ matrix.runtime }}.zip s3://${{ vars.LIB9C_PLUGIN_S3_PATH }}/${{ github.sha }}/ - name: Compress the build result run: zip -r ../${{ matrix.runtime }}.zip . working-directory: ./out