Skip to content

release @ 1b34b06e8916387a51f3c28a9c71b636d926b421 #15

release @ 1b34b06e8916387a51f3c28a9c71b636d926b421

release @ 1b34b06e8916387a51f3c28a9c71b636d926b421 #15

Workflow file for this run

name: Release
run-name: release @ ${{ github.sha }}
on:
push:
paths:
- 'Delta/**'
workflow_dispatch:
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Archive files
run: tar czf delta-linux.tar.gz Delta
- name: Add short commit hash to env
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
- name: Add calver to env
run: echo "CALVER=`date "+%Y.%m.%d"`" >> $GITHUB_ENV
- name: Create a GitHub release
uses: softprops/[email protected]
with:
files: delta-linux.tar.gz
tag_name: ${{ env.CALVER }}+${{ env.SHORT_SHA }}