v4.2.0 #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build release artifact. | |
on: | |
release: | |
types: [ published ] | |
jobs: | |
tag: | |
name: Build release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
# Composer install not needed as long as we have the system/libraries/ directory committed. | |
#- name: Install Composer dependencies | |
# uses: php-actions/composer@v6 | |
# with: | |
# dev: no | |
# php_version: 7.4 | |
# php_extensions: bcmath | |
- name: Create release artifact. | |
uses: thedoctor0/zip-release@master | |
with: | |
type: 'zip' | |
filename: 'btcpay.ocmod.zip' | |
exclusions: '*.git* *.github* composer.* README.md' | |
- name: Upload artifact to release page. | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: 'btcpay.ocmod.zip' | |
removeArtifacts: true | |
allowUpdates: true | |
token: ${{ secrets.GITHUB_TOKEN }} |