From 0f990a1f10a53134768f3af5e2e049afb7514c33 Mon Sep 17 00:00:00 2001 From: daomapsieucap Date: Fri, 16 Dec 2022 14:31:20 +0700 Subject: [PATCH] :rocket: upgrade main workflow --- .github/workflows/main.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2e742bf..8124799 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,13 +20,23 @@ jobs: SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} SLUG: ${{ secrets.SLUG }} - - name: 📋 Upload release asset - uses: rops/action-gh-release@v1 + # - name: 📋 Upload release asset + # uses: rops/action-gh-release@v1 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # GITHUB_REPOSITORY: viivue/acf-icomoon + # with: + # upload_url: ${{ github.event.release.upload_url }} + # #asset_path: ${{ steps.deploy.outputs.zip-path }} + # #asset_name: ${{ github.event.repository.name }}.zip + # asset_content_type: application/zip + + - name: 📂 Upload release asset + uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_REPOSITORY: viivue/acf-icomoon with: upload_url: ${{ github.event.release.upload_url }} - #asset_path: ${{ steps.deploy.outputs.zip-path }} - #asset_name: ${{ github.event.repository.name }}.zip + asset_path: ${{ steps.deploy.outputs.zip-path }} + asset_name: ${{ github.event.repository.name }}.zip asset_content_type: application/zip \ No newline at end of file