File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 1515 include :
1616 - php : ' 7.4'
1717 - php : ' 8.0'
18- # - php: '8.1'
18+ - php : ' 8.1'
1919
2020 runs-on : ubuntu-latest
2121
@@ -43,27 +43,18 @@ jobs:
4343 path : drupal/vendor
4444 key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
4545 restore-keys : |
46- ${{ runner.os }}-php-
46+ ${{ runner.os }}-php-${{ matrix.php }}
4747
4848 - name : Install dependencies and Zip the distribution
4949 run : |
5050 cd drupal
5151 composer install --prefer-dist --no-progress
52+ tar zcvf ../apigee-devportal-php-${{ matrix.php }}.tar.gz .
5253 cd ..
53- tar zcvf apigee-devportal-kickstart-${{ matrix.php }}.tar.gz drupal
5454
5555 - name : Create Release
5656 uses : ncipollo/release-action@v1
5757 with :
5858 artifacts : apigee-devportal-php-${{ matrix.php }}.tar.gz
5959 allowUpdates : true
6060 token : ${{ secrets.GITHUB_TOKEN }}
61- # uses: actions/upload-artifact@v3
62- # with:
63- # name: apigee-devportal-kickstart-${{ matrix.php }}-artifact
64- # path: apigee-devportal-kickstart-${{ matrix.php }}.tar.gz
65- # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
66- # Docs: https://getcomposer.org/doc/articles/scripts.md
67-
68- # - name: Run test suite
69- # run: composer run-script test
You can’t perform that action at this time.
0 commit comments