diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f440de4d9..4f8da3953 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -55,15 +55,38 @@ jobs: name: dist path: ./dist/ + test-upload: + name: Temp upload build artifacts + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@v2 + - name: Copy dist files + run: cp -r dist_2/ dist/ + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: dist + path: ./dist/ + upload-assets: name: Upload release assets runs-on: ubuntu-latest + needs: test-upload # if: github.event_name == "release" permissions: contents: write steps: - name: Checkout the repository uses: actions/checkout@v2 + - name: Download artifact + id: download + uses: actions/download-artifact@v2 + - name: Test + run: | + echo "${{ steps.download.outputs.download-path }}" + echo "$(ls -l)" + echo "$(ls -l dist)" - name: Get dist file names id: dist-names run: |