Skip to content

[UPDATED]-Updated dependencies #13

[UPDATED]-Updated dependencies

[UPDATED]-Updated dependencies #13

Workflow file for this run

name: CI build release
# Run this workflow every time a new commit pushed to your repository
on:
push:
tags:
- v*
jobs:
build:
name: Build and release version
runs-on: ubuntu-latest
steps:
- name: get version
run: |
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
echo "TAG_NAME=$VERSION" >> $GITHUB_ENV
# Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
echo "VERSION_NAME=$VERSION" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v2
- name: Build with Ant
run: ant clean build
- uses: meeDamian/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ env.TAG_NAME }}
name: ${{ env.TAG_NAME }}
gzip: false
allow_override: true
files: build/qldarch-${{ env.VERSION_NAME }}.war