diff --git a/.gitattributes b/.gitattributes index 6e4a79d..00a95bd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,5 @@ /.gitattributes export-ignore /.github export-ignore -/.gitignore export-ignore \ No newline at end of file +/.gitignore export-ignore +/Tests export-ignore +/doc export-ignore \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a1b431..5c69649 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,20 +1,23 @@ - name: Packaging for EC-CUBE Plugin + on: release: types: [ published ] + jobs: deploy: name: Build runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v6 + - name: Packaging run: | git archive HEAD --format=tar.gz > ../${{ github.event.repository.name }}-${{ github.event.release.tag_name }}.tar.gz + - name: Upload binaries to release of TGZ - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ runner.workspace }}/${{ github.event.repository.name }}-${{ github.event.release.tag_name }}.tar.gz