Skip to content

Commit

Permalink
ci: remove consecutiveness step (#4273)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Jul 22, 2024
1 parent 40c19af commit 281fff0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 28 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@ on:
branches:
- main

jobs:
consecutiveness:
runs-on: ubuntu-latest
steps:
- uses: ignite/consecutive-workflow-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
concurrency:
group: ci-${{ github.ref }}-docs-deploy
cancel-in-progress: true

jobs:
build_and_deploy:
runs-on: ubuntu-latest
needs: [ consecutiveness ]

steps:
- name: Checkout
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release Docker Image

on:
release:
types: [ published ]
types: [published]
schedule:
- cron: "0 0 * * *" # every day at midnight

Expand All @@ -11,13 +11,6 @@ concurrency:
cancel-in-progress: true

jobs:
consecutiveness:
runs-on: ubuntu-latest
steps:
- uses: ignite/consecutive-workflow-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}

check-latest-run:
runs-on: "ubuntu-latest"
steps:
Expand All @@ -34,7 +27,7 @@ jobs:
name: Push Docker image to Docker Hub
if: needs.check-latest-run.outputs.last_sha != github.sha
runs-on: ubuntu-latest
needs: [ consecutiveness, check-latest-run ]
needs: [check-latest-run]

steps:
- name: Check out the repo
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ concurrency:
cancel-in-progress: true

jobs:
consecutiveness:
runs-on: ubuntu-latest
steps:
- uses: ignite/consecutive-workflow-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}

check-latest-run:
runs-on: "ubuntu-latest"
steps:
Expand All @@ -32,7 +25,7 @@ jobs:
release-nightly:
if: needs.check-latest-run.outputs.last_sha != github.sha
runs-on: ubuntu-latest
needs: [ consecutiveness, check-latest-run ]
needs: [check-latest-run]
env:
working-directory: go/src/github.com/ignite/cli

Expand Down Expand Up @@ -65,12 +58,12 @@ jobs:
releases-binaries:
if: needs.check-latest-run.outputs.last_sha != github.sha
name: Release Go Binary
needs: [ consecutiveness, check-latest-run ]
needs: [check-latest-run]
runs-on: ubuntu-latest
strategy:
matrix:
goos: [ linux, darwin ]
goarch: [ amd64, arm64 ]
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/[email protected]
Expand Down

0 comments on commit 281fff0

Please sign in to comment.