-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from philipwindecker/master
Build: Add features for the combined release pipeline
- Loading branch information
Showing
3 changed files
with
32 additions
and
47 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Remote Tagging | ||
|
||
on: | ||
repository_dispatch: | ||
types: [update-tag] | ||
|
||
permissions: | ||
contents: write | ||
repository-projects: write | ||
|
||
jobs: | ||
submodule: | ||
name: Update submodule and create tag | ||
runs-on: Ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. | ||
|
||
- name: Create tag | ||
run: git tag ${{ github.event.client_payload.tag }} | ||
|
||
- name: GitHub Push | ||
uses: ad-m/[email protected] | ||
with: | ||
# Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }} | ||
github_token: ${{ secrets.MACHINE_USER_PAT }} | ||
# Determines if --tags is used | ||
tags: true |