diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d23ce9565..2b296f478 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 @@ -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