Merge pull request #901 from jhradilek/termswarnings-police #572
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
--- | |
# | |
# 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}} |