From 3098832c7acdfcf7b599a0be276bc9f760f108c2 Mon Sep 17 00:00:00 2001 From: Fellippe Heitor Date: Sun, 19 Jan 2020 15:07:25 -0300 Subject: [PATCH] Update run.yml; skips commits with 'ci-skip'. --- .github/workflows/run.yml | 50 +++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index e9f7198f6..56bc87c38 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -4,31 +4,9 @@ on: - development jobs: - macos-build: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - name: Bootstrap compiler - run: .ci/bootstrap.sh osx - - name: Compile - run: .ci/compile.sh - - name: Set deployment SSH key - if: github.event_name == 'push' - uses: shimataro/ssh-key-action@v1 - with: - private-key: ${{ secrets.SSH_KEY }} - public-key: ${{ secrets.SSH_KEY_PUBLIC }} - known-hosts: "qb64.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtmlTks7NPQHwvQiW+P2P8voWXfwYD+EuU39ERiaVw5g/lG/6pU1SKdrRBg2AtaPToPgK/nQyaid3sO2aWO00ixiKB3JPJoVp3nRY8YFi/AtVtVot/xh6+39fjP59tMCnMCbXTKjyMWL0kkwzd+OT8wryRZ/EgjK3vk9UGYzxKSr8G/KKV3GBDrJOdpHT2gNUcDFg6HSMvM860ZOF8n6jKRwp7MM0SpptufuQDgj/LhHcqQtFOqkhW9HXNmZR7IPchb5tsUubbPdSLu043B0ir2x5sCkK9V+inZExPg7KwIZ0yRsSv5esgLaBdyf1UToU3LU4ZM1hWjcJsp2fCBRkhw==" - config: | - Host remote-server - HostName qb64.org - User m6rosupy1q2t - - name: Package and deploy - if: github.event_name == 'push' - run: .ci/deploy.sh osx - linux-build: runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, 'ci-skip')" steps: - uses: actions/checkout@v2 - name: Install dependencies @@ -61,8 +39,33 @@ jobs: if: github.event_name == 'push' run: .ci/deploy.sh lnx + macos-build: + runs-on: macos-latest + if: "!contains(github.event.head_commit.message, 'ci-skip')" + steps: + - uses: actions/checkout@v2 + - name: Bootstrap compiler + run: .ci/bootstrap.sh osx + - name: Compile + run: .ci/compile.sh + - name: Set deployment SSH key + if: github.event_name == 'push' + uses: shimataro/ssh-key-action@v1 + with: + private-key: ${{ secrets.SSH_KEY }} + public-key: ${{ secrets.SSH_KEY_PUBLIC }} + known-hosts: "qb64.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtmlTks7NPQHwvQiW+P2P8voWXfwYD+EuU39ERiaVw5g/lG/6pU1SKdrRBg2AtaPToPgK/nQyaid3sO2aWO00ixiKB3JPJoVp3nRY8YFi/AtVtVot/xh6+39fjP59tMCnMCbXTKjyMWL0kkwzd+OT8wryRZ/EgjK3vk9UGYzxKSr8G/KKV3GBDrJOdpHT2gNUcDFg6HSMvM860ZOF8n6jKRwp7MM0SpptufuQDgj/LhHcqQtFOqkhW9HXNmZR7IPchb5tsUubbPdSLu043B0ir2x5sCkK9V+inZExPg7KwIZ0yRsSv5esgLaBdyf1UToU3LU4ZM1hWjcJsp2fCBRkhw==" + config: | + Host remote-server + HostName qb64.org + User m6rosupy1q2t + - name: Package and deploy + if: github.event_name == 'push' + run: .ci/deploy.sh osx + windows-x86-build: runs-on: windows-latest + if: "!contains(github.event.head_commit.message, 'ci-skip')" env: PLATFORM: x86 steps: @@ -88,6 +91,7 @@ jobs: windows-x64-build: runs-on: windows-latest + if: "!contains(github.event.head_commit.message, 'ci-skip')" env: PLATFORM: x64 steps: