diff --git a/.github/workflows/package_release.yml b/.github/workflows/package_release.yml index 7660e62..2f73877 100644 --- a/.github/workflows/package_release.yml +++ b/.github/workflows/package_release.yml @@ -13,16 +13,12 @@ jobs: - uses: actions/checkout@v3 - name: Zip folder - run: cd .. && zip -r ${{ github.event.repository.name }}-${{ github.ref_name }}.zip ${{ github.event.repository.name }} -x ${{ github.event.repository.name }}/.git/\* ${{ github.event.repository.name }}/.github/\* ${{ github.event.repository.name }}/.vscode/\* \*.bat \*.png \*.md && cd ${{ github.event.repository.name }} + run: cd .. && zip -r ${{ github.event.repository.name }}-${{ github.ref_name }}.zip ${{ github.event.repository.name }} -x ${{ github.event.repository.name }}/.git/\* ${{ github.event.repository.name }}/.github/\* ${{ github.event.repository.name }}/.vscode/\* \*.bat \*.png \*.md - - - name: test - run: ls -la - - name: Upload Release Asset uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.token }} with: - files: ${{ github.event.repository.name }}-${{ github.ref_name }}.zip + files: ../${{ github.event.repository.name }}-${{ github.ref_name }}.zip generate_release_notes: true