From b40e204443691e62dca3c11acd17d29a8e0259d3 Mon Sep 17 00:00:00 2001 From: karurochari Date: Sun, 8 Dec 2024 09:16:30 +0000 Subject: [PATCH] Fix format minimal job I --- .github/workflows/docker.yml | 3 +-- .github/workflows/format.yml | 4 ++++ .github/workflows/release.yml | 25 +++++++++++++------------ 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d18b3d0e..c6a48fb6 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,13 +4,12 @@ concurrency: cancel-in-progress: true on: - workflow_call: + workflow_dispatch: push: branches: master paths: - "**Dockerfile" - "**docker.yml" - workflow_dispatch: schedule: - cron: "25 1 5 * *" diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index c4d99eec..af03f46b 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -6,4 +6,8 @@ concurrency: on: workflow_call: jobs: + fake-job: + runs-on: ubuntu-latest + steps: + - run: exit 0 #Add here a task for each language to be supported. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c3d8723..caa3e6d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,15 +9,16 @@ on: tags: - "v*.*.*(-.*)?" branches: master - jobs: - build-checks: - uses: ./.github/workflows/build.yml - release: - needs: [build-checks] - name: release - runs-on: ubuntu-latest - if: ${{ startsWith(github.ref, 'refs/tags/v') }} - permissions: - contents: write - steps: - #TODO https://github.com/quickjs-ng/quickjs/blob/master/.github/workflows/release.yml or https://github.com/saghul/txiki.js/blob/master/.github/workflows/release.yml for reference? +jobs: + build-checks: + uses: ./.github/workflows/build.yml + release: + needs: [build-checks] + name: release + runs-on: ubuntu-latest + if: ${{ startsWith(github.ref, 'refs/tags/v') }} + permissions: + contents: write + steps: + - run: exit 0 + #TODO https://github.com/quickjs-ng/quickjs/blob/master/.github/workflows/release.yml or https://github.com/saghul/txiki.js/blob/master/.github/workflows/release.yml for reference?