From 96e7b71a095e77a1a5ec89c1c198f31e260d7d66 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Fri, 11 Nov 2022 20:00:14 -0500 Subject: [PATCH] revert last commit --- .github/workflows/release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6dbe936..70ec704 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,3 +48,19 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} + - name: Upload to oss + id: upload_to_oss + uses: tvrcgo/upload-to-oss@master + with: + key-id: ${{ secrets.OSS_KEY_ID }} + key-secret: ${{ secrets.OSS_KEY_SECRET }} + region: oss-cn-shanghai + bucket: casaos + assets: | + dist/checksums.txt:/IceWhaleTech/CasaOS/releases/download/${{ steps.get_version.outputs.VERSION }}/checksums.txt + dist/linux-arm-7-casaos-message-bus-${{ steps.get_version.outputs.VERSION }}.tar.gz:/IceWhaleTech/CasaOS-MessageBus/releases/download/${{ steps.get_version.outputs.VERSION }}/linux-arm-7-casaos-message-bus-${{ steps.get_version.outputs.VERSION }}.tar.gz + dist/linux-arm64-casaos-message-bus-${{ steps.get_version.outputs.VERSION }}.tar.gz:/IceWhaleTech/CasaOS-MessageBus/releases/download/${{ steps.get_version.outputs.VERSION }}/linux-arm64-casaos-message-bus-${{ steps.get_version.outputs.VERSION }}.tar.gz + dist/linux-amd64-casaos-message-bus-${{ steps.get_version.outputs.VERSION }}.tar.gz:/IceWhaleTech/CasaOS-MessageBus/releases/download/${{ steps.get_version.outputs.VERSION }}/linux-amd64-casaos-message-bus-${{ steps.get_version.outputs.VERSION }}.tar.gz + dist/linux-arm-7-casaos-message-bus-migration-tool-${{ steps.get_version.outputs.VERSION }}.tar.gz:/IceWhaleTech/CasaOS-MessageBus/releases/download/${{ steps.get_version.outputs.VERSION }}/linux-arm-7-casaos-message-bus-migration-tool-${{ steps.get_version.outputs.VERSION }}.tar.gz + dist/linux-arm64-casaos-message-bus-migration-tool-${{ steps.get_version.outputs.VERSION }}.tar.gz:/IceWhaleTech/CasaOS-MessageBus/releases/download/${{ steps.get_version.outputs.VERSION }}/linux-arm64-casaos-message-bus-migration-tool-${{ steps.get_version.outputs.VERSION }}.tar.gz + dist/linux-amd64-casaos-message-bus-migration-tool-${{ steps.get_version.outputs.VERSION }}.tar.gz:/IceWhaleTech/CasaOS-MessageBus/releases/download/${{ steps.get_version.outputs.VERSION }}/linux-amd64-casaos-message-bus-migration-tool-${{ steps.get_version.outputs.VERSION }}.tar.gz