Skip to content

Commit

Permalink
Merge pull request #31 from gerlero/actions
Browse files Browse the repository at this point in the history
Automatically move major and minor tags on release
gerlero authored Oct 18, 2024
2 parents f144cf4 + 8fb0bde commit 3efd979
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release

on:
release:
types: [published]

jobs:
update-tags:
permissions:
contents: write
runs-on: ubuntu-latest
if: ${{ github.event.release.prerelease == false }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update major and minor version tags
uses: sersoft-gmbh/running-release-tags-action@v3
with:
create-release: false
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# setup-openfoam

[![CI](https://github.com/gerlero/setup-openfoam/actions/workflows/ci.yml/badge.svg)](https://github.com/gerlero/setup-openfoam/actions/workflows/ci.yml)
[![Release](https://github.com/gerlero/setup-openfoam/actions/workflows/release.yml/badge.svg)](https://github.com/gerlero/setup-openfoam/actions/workflows/release.yml)
![OpenFOAM](https://img.shields.io/badge/openfoam-.com%20|%20.org-informational)

Installs and activates a specific version of OpenFOAM in the GitHub Actions environment.

0 comments on commit 3efd979

Please sign in to comment.