diff --git a/.github/workflows/electron_deploy.yml b/.github/workflows/electron_deploy.yml index 04673acc..12e0dc2b 100644 --- a/.github/workflows/electron_deploy.yml +++ b/.github/workflows/electron_deploy.yml @@ -71,15 +71,15 @@ jobs: - name: Upload to Oracle Storage run: | - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./changelog_en.html --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_mac/changelog_en.html - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./changelog_cn.html --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_mac/changelog_cn.html - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}-mac.zip --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_mac/paperlib-${{ env.VERSION }}-mac.zip - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}-mac.zip --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_mac/paperlib-${{ env.VERSION }}-mac.zip - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}-mac.zip.blockmap --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_mac/paperlib-${{ env.VERSION }}-mac.zip.blockmap - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}.dmg --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_mac/paperlib-${{ env.VERSION }}.dmg - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}.dmg --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_mac/latest.dmg - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}.dmg.blockmap --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_mac/paperlib-${{ env.VERSION }}.dmg.blockmap - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/latest-mac.yml --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_mac/latest-mac.yml + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./changelog_en.html --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-mac/changelog_en.html + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./changelog_cn.html --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-mac/changelog_cn.html + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}-mac.zip --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-mac/paperlib-${{ env.VERSION }}-mac.zip + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}-mac.zip --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-mac/paperlib-${{ env.VERSION }}-mac.zip + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}-mac.zip.blockmap --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-mac/paperlib-${{ env.VERSION }}-mac.zip.blockmap + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}.dmg --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-mac/paperlib-${{ env.VERSION }}.dmg + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}.dmg --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-mac/latest.dmg + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/paperlib-${{ env.VERSION }}.dmg.blockmap --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-mac/paperlib-${{ env.VERSION }}.dmg.blockmap + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/latest-mac.yml --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-mac/latest-mac.yml win_deploy: runs-on: windows-latest @@ -140,7 +140,7 @@ jobs: - name: Upload to Oracle Storage run: | - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file './dist/electron/Packaged/paperlib Setup ${{ env.VERSION }}.exe' --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name 'distribution/electron_win/paperlib Setup ${{ env.VERSION }}.exe' - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file './dist/electron/Packaged/paperlib Setup ${{ env.VERSION }}.exe' --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_win/latest.exe - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file './dist/electron/Packaged/paperlib Setup ${{ env.VERSION }}.exe.blockmap' --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name 'distribution/electron_win/paperlib Setup ${{ env.VERSION }}.exe.blockmap' - oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/latest.yml --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron_win/latest.yml + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file './dist/electron/Packaged/paperlib Setup ${{ env.VERSION }}.exe' --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name 'distribution/electron-win/paperlib Setup ${{ env.VERSION }}.exe' + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file './dist/electron/Packaged/paperlib Setup ${{ env.VERSION }}.exe' --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-win/latest.exe + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file './dist/electron/Packaged/paperlib Setup ${{ env.VERSION }}.exe.blockmap' --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name 'distribution/electron-win/paperlib Setup ${{ env.VERSION }}.exe.blockmap' + oci os object put --bucket-name ${{ secrets.OCI_OS_BUCKET }} --file ./dist/electron/Packaged/latest.yml --namespace ${{ secrets.OCI_OS_NAMESPACE }} --force --name distribution/electron-win/latest.yml