Skip to content

Commit

Permalink
Revert "Remove redundant workflow"
Browse files Browse the repository at this point in the history
This reverts commit f747b92.
  • Loading branch information
jeremy-rcsb committed Nov 7, 2024
1 parent bf48ba7 commit 0acb4df
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/push-to-branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Push2Branch

on:
push:
branches-ignore:
- "master"

jobs:
push-to-branch:
uses: rcsb/devops-cicd-github-actions/.github/workflows/push-to-branch.yaml@master
with:
distribution: "${{ github.ref_name }}_idmapper"
type: "skip"
13 changes: 13 additions & 0 deletions .github/workflows/push-to-master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Push2Master

on:
push:
branches:
- "master"

jobs:
push-to-master:
uses: rcsb/devops-cicd-github-actions/.github/workflows/push-to-master.yaml@master
with:
distribution: "production_idmapper"
type: "skip"
30 changes: 30 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
workflow_dispatch:
inputs:
major:
description: 'Major version'
required: true
minor:
description: 'Minor version'
required: true
patch:
description: 'Patch version'
required: true
skip-tests:
description: 'Skip tests'
type: boolean
default: true
required: false

jobs:
release:
uses: rcsb/devops-cicd-github-actions/.github/workflows/release.yaml@master
with:
major: ${{ inputs.major }}
minor: ${{ inputs.minor }}
patch: ${{ inputs.patch }}
skip-tests: ${{ inputs.skip-tests }}
distribution: "production_idmapper"
type: "jar"

0 comments on commit 0acb4df

Please sign in to comment.