Skip to content

Commit

Permalink
Merge pull request #281 from assimbly/develop
Browse files Browse the repository at this point in the history
Update GitHub Action workflows
  • Loading branch information
skin27 authored Sep 27, 2024
2 parents 5502456 + 08f2dd5 commit cf31779
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@ name: Update Version Number
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to use'
type: string
default: 'develop'
milestone:
description: 'Milestone to use as version'
type: string
required: true

workflow_call:
inputs:
inputs:
branch:
description: 'Branch to use'
type: string
default: 'develop'
milestone:
description: 'Milestone to use as version'
type: string
Expand All @@ -30,7 +38,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
ref: ${{ inputs.branch }}
fetch-depth: 0
token: ${{ secrets.RELEASE_TOKEN }}

Expand All @@ -55,4 +63,4 @@ jobs:
github_token: ${{ secrets.RELEASE_TOKEN }}
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
force_with_lease: true
force_with_lease: true

0 comments on commit cf31779

Please sign in to comment.