Skip to content

chore(deps): update christian-draeger/increment-semantic-version acti… #67

chore(deps): update christian-draeger/increment-semantic-version acti…

chore(deps): update christian-draeger/increment-semantic-version acti… #67

Workflow file for this run

---
name: Deploy Collection
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Run read-yaml action
id: yaml-data
uses: jbutcher5/read-yaml@39cf058cf4ea746b66d7f49f4da10a81204450cc # 1.6
with:
file: "./galaxy.yml"
key-path: '["version"]'
- name: Bump release version
id: bump_version
uses: christian-draeger/increment-semantic-version@a430fd3cfcfd9267689c9ceb0002aafb9289c671 # 1.2.0
with:
current-version: "${{ steps.yaml-data.outputs.data }}"
version-fragment: "bug"
- name: Update values.yaml
uses: fjogeleit/yaml-update-action@main
with:
valueFile: "galaxy.yml"
propertyPath: "version"
value: "${{ steps.bump_version.outputs.next-version }}"
commitChange: true
message: "update galaxy.yml version"
branch: main
createPR: false
masterBranchName: main
- name: Build and Deploy Collection
uses: artis3n/ansible_galaxy_collection@3368f56529a2ef47ef0ac1ecfcda039f90d0174a # v2
with:
api_key: "${{ secrets.GALAXY_API_KEY }}"
galaxy_version: "${{ steps.bump_version.outputs.next-version }}"
publish: true
build: true
- name: Read file contents
id: read_file
uses: andstor/file-reader-action@babb053761401147562e75be79d832978cc97325 # v1
with:
path: "galaxy.yml"