Skip to content

Commit

Permalink
Fix format minimal job I
Browse files Browse the repository at this point in the history
  • Loading branch information
karurochari committed Dec 8, 2024
1 parent 633fdb0 commit b40e204
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 * *"

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
25 changes: 13 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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?

0 comments on commit b40e204

Please sign in to comment.