You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2020/12/27 21:18:04 UTC
[libcloud] branch trunk updated: Looks like Apache disabled
external actions so dont rely on external actions in the workflow.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
The following commit(s) were added to refs/heads/trunk by this push:
new 9742a8a Looks like Apache disabled external actions so dont rely on external actions in the workflow.
9742a8a is described below
commit 9742a8aac67f5e1e8789362a723f65a43077c36c
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Dec 27 22:17:47 2020 +0100
Looks like Apache disabled external actions so dont rely on external
actions in the workflow.
---
.github/workflows/main.yml | 39 ++++++++++++++++++++-------------------
1 file changed, 20 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 068dd14..f9d2750 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -12,24 +12,25 @@ on:
jobs:
# Special job which skips duplicate jobs
- pre_job:
- name: Skip Duplicate Jobs Pre Job
- runs-on: ubuntu-latest
- # Map a step output to a job output
- outputs:
- should_skip: ${{ steps.skip_check.outputs.should_skip }}
- steps:
- - id: skip_check
- uses: fkirc/skip-duplicate-actions@f05289cf5f432138afd3408d79ca931eb0df74c3 # v3.0.0
- with:
- github_token: ${{ github.token }}
+ # NOTE: It looks like Apache disabled using external actions
+ # pre_job:
+ # name: Skip Duplicate Jobs Pre Job
+ # runs-on: ubuntu-latest
+ # # Map a step output to a job output
+ # outputs:
+ # should_skip: ${{ steps.skip_check.outputs.should_skip }}
+ # steps:
+ # - id: skip_check
+ # uses: fkirc/skip-duplicate-actions@f05289cf5f432138afd3408d79ca931eb0df74c3 # v3.0.0
+ # with:
+ # github_token: ${{ github.token }}
unit_tests:
name: Run Unit Tests
runs-on: ${{ matrix.os }}
- needs: pre_job
- if: ${{ needs.pre_job.outputs.should_skip == 'false' || github.ref == 'refs/heads/trunk' }}
+ # needs: pre_job
+ # if: ${{ needs.pre_job.outputs.should_skip == 'false' || github.ref == 'refs/heads/trunk' }}
strategy:
fail-fast: false
@@ -70,8 +71,8 @@ jobs:
name: Generate Code Coverage
runs-on: ubuntu-latest
- needs: pre_job
- if: ${{ needs.pre_job.outputs.should_skip == 'false' || github.ref == 'refs/heads/trunk' }}
+ # needs: pre_job
+ # if: ${{ needs.pre_job.outputs.should_skip == 'false' || github.ref == 'refs/heads/trunk' }}
strategy:
matrix:
@@ -103,8 +104,8 @@ jobs:
name: Run Various Lint and Other Checks
runs-on: ubuntu-latest
- needs: pre_job
- if: ${{ needs.pre_job.outputs.should_skip == 'false' || github.ref == 'refs/heads/trunk' }}
+ # needs: pre_job
+ # if: ${{ needs.pre_job.outputs.should_skip == 'false' || github.ref == 'refs/heads/trunk' }}
strategy:
matrix:
@@ -136,8 +137,8 @@ jobs:
name: Build and upload Documentation
runs-on: ubuntu-latest
- needs: pre_job
- if: ${{ needs.pre_job.outputs.should_skip == 'false' || github.ref == 'refs/heads/trunk' }}
+ # needs: pre_job
+ # if: ${{ needs.pre_job.outputs.should_skip == 'false' || github.ref == 'refs/heads/trunk' }}
strategy:
matrix: