Skip to content

Merge pull request #901 from jhradilek/termswarnings-police #572

Merge pull request #901 from jhradilek/termswarnings-police

Merge pull request #901 from jhradilek/termswarnings-police #572

Workflow file for this run

---
#
# Copyright (c) 2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create release
run: |
cd .vale/styles
echo $GITHUB_RUN_NUMBER > version.txt
zip -r RedHat.zip RedHat
zip -r AsciiDoc.zip AsciiDoc
zip -r OpenShiftAsciiDoc.zip OpenShiftAsciiDoc
gh release create v$GITHUB_RUN_NUMBER 'RedHat.zip' 'AsciiDoc.zip' 'OpenShiftAsciiDoc.zip'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}