From f7e61897e22c14af0e2126f1a17cbe9efa1aaec2 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/format.yml | 3 +++ .github/workflows/release.yml | 25 +++++++++++++------------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index c4d99eec..a51e4fe3 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -6,4 +6,7 @@ concurrency: on: workflow_call: jobs: + fake-job: + 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?