mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-29 00:06:06 +00:00
CI: add a version tag to correlate release versions with commits (#4572)
* add step to tag commit with release version * add step to tag commit with release version * Rename step to “Create Tag” * Fix name
This commit is contained in:
parent
ba95ee54ab
commit
009c1101d2
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
@ -112,6 +112,17 @@ jobs:
|
|||
repo: ${{ env.RYUJINX_TARGET_RELEASE_CHANNEL_REPO }}
|
||||
token: ${{ secrets.RELEASE_TOKEN }}
|
||||
|
||||
- name: Create tag
|
||||
uses: actions/github-script@v5
|
||||
with:
|
||||
script: |
|
||||
github.rest.git.createRef({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
ref: 'refs/tags/${{ steps.version_info.outputs.build_version }}',
|
||||
sha: context.sha
|
||||
})
|
||||
|
||||
flatpak_release:
|
||||
uses: ./.github/workflows/flatpak.yml
|
||||
needs: release
|
||||
|
|
Loading…
Reference in a new issue