Rename revolt-bot-with-cmd-interface-interprocess-incomplete.js to re… #121
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
name: Create Prerelease or latest release on Push | |
# description: Create a Prerelease when pushing commits to the main branch. | |
# author: Public Domain | |
# version: v1 | |
# GitHub Pre-Release Visibility | |
# To avoid a pre-release file appearing as the latest release on a GitHub repository's overview, | |
# delete the '#' before 'pre-release:true', and it will only be found in the Releases section with a | |
# pre-release badge. | |
on: | |
push: | |
branches: | |
- main | |
# ______ Trigger a prerelease when committing to certain files or folders. | |
#paths: | |
# - '**.cmd' # All .cmd Files of the repository. | |
# - 'README.md' # README.md File of the repository. | |
# - 'LICENSE' # LICENSE File of the repository. | |
# - '.github/**' # .github/workflows Folder | |
# ______ You cannot use both the paths and paths-ignore filters for the same event in a workflow. | |
#paths-ignore: | |
# - '**.cmd' # All .cmd Files of the repository. | |
# - 'README.md' # README.md File of the repository. | |
# - 'LICENSE' # LICENSE File of the repository. | |
# - '.github/**' # .github/workflows Folder | |
jobs: | |
create_prerelease: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create Prerelease | |
uses: ncipollo/release-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
#prerelease: true | |
body: | | |
This is a prerelease. | |
It may contain bugs or unfinished features. | |
tag: ${{ github.ref }} | |
artifacts: '*' | |
allowUpdates: true | |
makeLatest: true # Probably not necessary. |