Skip to content

Commit

Permalink
chore: update sql name
Browse files Browse the repository at this point in the history
  • Loading branch information
hexf00 committed Nov 18, 2024
1 parent 58f8712 commit 76ce636
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/sync-to-oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
name: Release docker compose
runs-on: ubuntu-latest
needs: [prepare]
if: ${{github.event_name == 'push' || github.event.inputs.release-docker-compose }}
if: ${{ github.event_name == 'push' || github.event.inputs.release-docker-compose }}
steps:
- name: default Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -180,22 +180,22 @@ jobs:
cd /tmp/sql
tar -czvf univer-sql.tar.gz *
- name: Sync univer-sql.tar.gz to OSS (latest)
- name: Release univer-sql.tar.gz (latest)
uses: hexf00/upload-to-oss@v1
with:
source: '/tmp/sql/univer-sql.tar.gz'
dest: 'releases/latest/universer-sql-latest.tar.gz'
dest: 'releases/latest/universer-latest-sql.tar.gz'
bucket: ${{secrets.OSS_BUCKET}}
region: "oss-cn-shenzhen"
accessKeyId: ${{secrets.S3_ACCESS_KEY_ID}}
accessKeySecret: ${{secrets.S3_ACCESS_KEY_SECRET}}
if: ${{ needs.prepare.outputs.release_type == 'stable' }}

- name: Sync univer-sql.tar.gz to OSS
- name: Release universer-v${{ needs.prepare.outputs.version }}-sql.tar.gz
uses: hexf00/upload-to-oss@v1
with:
source: '/tmp/sql/univer-sql.tar.gz'
dest: 'releases/v${{ needs.prepare.outputs.version }}/universer-sql-v${{ needs.prepare.outputs.version }}.tar.gz'
dest: 'releases/v${{ needs.prepare.outputs.version }}/universer-v${{ needs.prepare.outputs.version }}-sql.tar.gz'
bucket: ${{secrets.OSS_BUCKET}}
region: "oss-cn-shenzhen"
accessKeyId: ${{secrets.S3_ACCESS_KEY_ID}}
Expand Down

0 comments on commit 76ce636

Please # to comment.