Skip to content

Try pushing tags now too #12

Try pushing tags now too

Try pushing tags now too #12

Workflow file for this run

name: deploy
on:
push:
branches:
- main
jobs:
patch-and-commit:
runs-on: ubuntu-24.04
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- name: Check out repository code
uses: actions/checkout@v4
- name: Patch version information
id: patching
uses: nasa-jpl/patch-version@main
- name: Workaround chown to deal with .git/objects owned by root instead of runner
# Allegedly, this only needs to only be done for small, new repos
run: |
sudo chown runner:docker -R .git
- name: Add and commit patched files
uses: Endbug/add-and-commit@v9
with:
add: "CMakeLists.txt"
default_author: github_actions
tag: "${{ steps.patching.outputs.new_tag }}"