This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
Attempt automated manifest update #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Manifest Update | |
on: | |
pull_request: | |
branches: | |
- main | |
# This is required to be able to update tags | |
permissions: | |
contents: write | |
jobs: | |
release: | |
name: Release Version | |
runs-on: ubuntu-latest | |
# Only run this job if the PR was merged | |
# if: ${{ github.event.pull_request.merged == true }} | |
steps: | |
# Checkout the repository with fetch-tags set to true | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-tags: true | |
- name: Tag Commit | |
id: tag-commit | |
uses: issue-ops/[email protected] | |
with: | |
manifest-path: manifest.json | |
workspace: ${{ github.workspace }} | |
ref: main | |
- name: Print version | |
run: echo ${{ steps.tag-commit.outputs.version }} |