Release v4.12.1 #17
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: Create Download on Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Master | |
uses: actions/checkout@master | |
- name: Set Tag env | |
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10} | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' | |
- name: Test tag | |
run: echo ${{ env.RELEASE_VERSION }} | |
- name: Setup JDK for ant | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build with ant | |
run: ant -noinput | |
- name: Upload zip to release | |
uses: fnkr/github-action-ghr@v1 | |
env: | |
GHR_PATH: FatchipPayoneConnector_${{ env.RELEASE_VERSION }}_shopware5_source.zip | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |