File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,6 +123,9 @@ jobs:
123123 contents : read
124124 packages : write
125125 runs-on : ubuntu-22.04
126+ environment :
127+ name : docker-${{ matrix.tag }}
128+ url : https://hub.docker.com/r/${{ needs.check_dockerfiles.outputs.base_tag }}/tags?name=-${{ matrix.tag }}
126129 strategy :
127130 fail-fast : false
128131 matrix : ${{ fromJson(needs.check_dockerfiles.outputs.matrix) }}
Original file line number Diff line number Diff line change 2121 name : Update blog
2222 if : github.repository_owner == 'LizardByte'
2323 runs-on : ubuntu-latest
24+ environment :
25+ name : release-announcement
26+ url : ${{ steps.create-pr.outputs.pull-request-url }}
27+ env :
28+ BLOG_REPO : ${{ github.repository_owner }}/${{ github.repository_owner }}.github.io
2429 steps :
2530 - name : Check topics
2631 env :
6267 steps.check-release.outputs.isLatestRelease == 'true'
6368 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6469 with :
65- repository : " LizardByte/LizardByte.github.io "
70+ repository : ${{ env.BLOG_REPO }}
6671
6772 - name : Create blog post
6873 if : >-
Original file line number Diff line number Diff line change @@ -16,10 +16,16 @@ jobs:
1616 update-changelog :
1717 name : Update Changelog
1818 runs-on : ubuntu-latest
19+ environment :
20+ name : changelog
21+ url : ${{ github.event.repository.html_url }}/blob/${{ env.CHANGELOG_BRANCH }}/${{ env.CHANGELOG_FILE }}
22+ env :
23+ CHANGELOG_BRANCH : changelog
24+ CHANGELOG_FILE : CHANGELOG.md
1925 steps :
2026 - name : Update Changelog
2127 uses : LizardByte/actions/actions/release_changelog@9bf3ef783775e17fe6b8dde3585d94ec570b93c2 # v2026.212.22356
2228 with :
23- changelogBranch : changelog
24- changelogFile : CHANGELOG.md
29+ changelogBranch : ${{ env.CHANGELOG_BRANCH }}
30+ changelogFile : ${{ env.CHANGELOG_FILE }}
2531 token : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change 1717
1818jobs :
1919 update-docs :
20+ environment :
21+ name : ReadTheDocs
22+ url : https://${{ steps.get_slug.outputs.RTD_SLUG }}.readthedocs.io//latest
2023 env :
2124 RTD_SLUG : ${{ inputs.READTHEDOCS_SLUG }}
2225 RTD_TOKEN : ${{ secrets.READTHEDOCS_TOKEN }}
@@ -26,12 +29,14 @@ jobs:
2629 runs-on : ubuntu-latest
2730 steps :
2831 - name : Get RTD_SLUG
32+ id : get_slug
2933 run : |
3034 # if the RTD_SLUG is not set, use the repository name in lowercase
3135 if [ -z "${RTD_SLUG}" ]; then
3236 RTD_SLUG=$(echo "${{ github.event.repository.name }}" | tr '[:upper:]' '[:lower:]')
3337 fi
3438 echo "RTD_SLUG=${RTD_SLUG}" >> "${GITHUB_ENV}"
39+ echo "RTD_SLUG=${RTD_SLUG}" >> "${GITHUB_OUTPUTS}"
3540
3641 - name : Deactivate deleted release
3742 if : >-
Original file line number Diff line number Diff line change 1818
1919jobs :
2020 update-flathub-repo :
21+ environment :
22+ name : Flathub
23+ url : ${{ steps.create-pr.outputs.pull-request-url }}
2124 env :
2225 FLATHUB_PKG : dev.lizardbyte.app.${{ github.event.repository.name }}
2326 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1919jobs :
2020 update-homebrew-repo :
2121 runs-on : ubuntu-latest
22+ environment :
23+ name : Homebrew
24+ url : https://github.com/${{ github.repository_owner }}/homebrew-homebrew/commits
2225 steps :
2326 - name : Check if Homebrew repo
2427 id : check-label
Original file line number Diff line number Diff line change 1919jobs :
2020 update-pacman-repo :
2121 runs-on : ubuntu-latest
22+ environment :
23+ name : pacman-repo
24+ url : ${{ steps.create-pr.outputs.pull-request-url }}
25+ env :
26+ PACMAN_REPO : ${{ github.repository_owner }}/pacman-repo
2227 steps :
2328 - name : Check if pacman repo
2429 id : check-label
6166 steps.check-release.outputs.isLatestRelease == 'true'
6267 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6368 with :
64- repository : ${{ github.repository_owner }}/pacman-repo
69+ repository : ${{ env.PACMAN_REPO }}
6570
6671 - name : Prep
6772 id : prep
Original file line number Diff line number Diff line change 2121jobs :
2222 update-winget-repo :
2323 runs-on : ubuntu-latest
24+ environment :
25+ name : Winget
26+ url : https://github.com/microsoft/winget-pkgs/issues?q=is%3Apr%20author%3A${{ vars.GH_BOT_NAME }}
2427 steps :
2528 - name : Check if Winget repo
2629 id : check-label
5760 extract : false
5861
5962 - name : Release to WinGet
63+ id : winget
6064 if : >-
6165 steps.check-label.outputs.hasTopic == 'true' &&
6266 fromJson(steps.download.outputs.downloaded_files)[0]
Original file line number Diff line number Diff line change 1818 replicate_cla :
1919 name : Replicate CLA
2020 runs-on : ubuntu-latest
21+ environment :
22+ name : cla-gist
23+ url : https://gist.github.com/${{ vars.CLA_GIST_ID }}
2124 strategy : # the action doesn't currently support multiple files
2225 fail-fast : true # false to run all, true to fail entire job if any fail
2326 max-parallel : 1 # let's update files one by one to avoid complications
3437 uses : exuanbo/actions-deploy-gist@47697fceaeea2006a90594ee24eb9cd0a1121ef8 # v1.1.4
3538 with :
3639 token : ${{ secrets.GH_BOT_TOKEN }}
37- gist_id : ${{ secrets .CLA_GIST_ID }}
40+ gist_id : ${{ vars .CLA_GIST_ID }}
3841 file_path : ${{ matrix.file_path }}
3942 file_type : text
You can’t perform that action at this time.
0 commit comments