From 5657cf423ec6f9ae4ef847cb5525f45e9c6290c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=B6nig?= Date: Fri, 30 Apr 2021 10:40:58 +0200 Subject: [PATCH] add phar build --- .github/workflows/release.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..a0c61c2 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: Create Release +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + +jobs: + build-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: 7.4 + + - uses: php-actions/composer@v5 + with: + php_version: 7.4 + dev: yes + + - run: composer build + + - uses: actions/upload-artifact@v2 + with: + name: gdpr-dump${{ github.ref }}.phar + path: gdpr-dump.phar \ No newline at end of file