Skip to content

Commit

Permalink
add [build skip] so that github doesnt run nightly (#131)
Browse files Browse the repository at this point in the history
* add [build skip] so that github doesnt run nightly on useless commits

* Update build.yaml
  • Loading branch information
LetterN authored Apr 16, 2023
1 parent 1b25223 commit 94de401
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:

jobs:
build:
if: "!contains(github.event.head_commit.message, '[build skip]')"
name: "Pre Release"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
Expand All @@ -33,13 +35,12 @@ jobs:
env:
CFAPIKEY: ${{ secrets.CFAPIKEY }}
- name: Automatic Releases
uses: marvinpinto/action-automatic-releases@v1.1.1
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: ${{ steps.vars.outputs.sha_short }}

files: |
buildOut/client.zip
buildOut/server.zip
Expand Down

0 comments on commit 94de401

Please sign in to comment.