Skip to content

Commit

Permalink
update GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
skin27 committed Sep 25, 2024
1 parent fe31c1f commit f8560a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 23 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,13 @@ on:
# schedule:
# - cron: '0 1 * * *'
inputs:
branch:
description: 'Branch to use'
default: 'develop'
type: string
milestone:
description: 'Milestone to use as version'
type: string
required: true

workflow_call:
inputs:
branch:
description: 'Branch to use'
default: 'develop'
type: string
milestone:
description: 'Milestone to use as version'
type: string
Expand Down Expand Up @@ -93,8 +85,8 @@ jobs:
- name: Checkout the code
uses: actions/checkout@v4
with:
repository: assimbly/custom-components
ref: ${{ inputs.branch }}
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
fetch-depth: 0
token: ${{ secrets.RELEASE_TOKEN }}

Expand Down
16 changes: 4 additions & 12 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,13 @@ name: Update Version Number
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to use'
default: 'develop'
type: string
milestone:
description: 'Milestone to use as version'
type: string
required: true

workflow_call:
inputs:
branch:
description: 'Branch to use'
default: 'develop'
type: string
milestone:
description: 'Milestone to use as version'
type: string
Expand All @@ -37,8 +29,8 @@ jobs:
- name: Checkout the code
uses: actions/checkout@v4
with:
repository: assimbly/custom-components
ref: ${{ inputs.branch }}
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
fetch-depth: 0
token: ${{ secrets.RELEASE_TOKEN }}

Expand All @@ -65,6 +57,6 @@ jobs:
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.RELEASE_TOKEN }}
repository: assimbly/custom-components
branch: ${{ inputs.branch }}
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
force_with_lease: true
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<google.auth.version>1.5.0</google.auth.version>
<google.oauth.version>1.36.0</google.oauth.version>
<hapi.version>2.5.1</hapi.version>
<hibernate-core.version>6.6.0.Final</hibernate-core.version>
<hibernate-core.version>6.6.1.Final</hibernate-core.version>
<httpclient.version>4.5.14</httpclient.version>
<httpcomponents.version>4.5.14</httpcomponents.version>
<java-assist.version>3.29.2-GA</java-assist.version>
Expand Down

0 comments on commit f8560a8

Please sign in to comment.