Skip to content

LoggingKit_V5.0

LoggingKit_V5.0 #1

Workflow file for this run

name: CI
on:
release:
types: [published]
jobs:
build:
name: Upload LoggingKit
runs-on: macos-latest
steps:
- name: Zip LoggingKit
uses: actions/checkout@v3
- run: echo "TAG_VER=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- run: zip --exclude '*.git*' --exclude '*.github*' -r -X "LoggingKit-${TAG_VER}.zip" .
- name: Upload to Release
if: github.event_name == 'release'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "*.zip"
tag: ${{ github.ref }}
file_glob: true