github: update and fix workflows (#1322)
* github: fix library deployment workflow Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/create-release to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/download-artifact to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/github-script to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/upload-release-asset to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp gradle/wrapper-validation-action to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: update thomaseizinger/keep-a-changelog-new-release to v1.2.1 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: update mindsers/changelog-reader-action to v2.0.0 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: update peter-evans/create-pull-request to v3.8.2 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
d17ff0d925
commit
1a10d1b3e6
7 changed files with 17 additions and 17 deletions
18
.github/workflows/deploy_github_releases.yml
vendored
18
.github/workflows/deploy_github_releases.yml
vendored
|
@ -56,39 +56,39 @@ jobs:
|
||||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
- name: Get Non-Free Release APK
|
- name: Get Non-Free Release APK
|
||||||
uses: actions/download-artifact@f8e41fbffeebb48c0273438d220bb2387727471f
|
uses: actions/download-artifact@4a7a711286f30c025902c28b541c10e147a9b843
|
||||||
with:
|
with:
|
||||||
name: APS Non-Free Release APK
|
name: APS Non-Free Release APK
|
||||||
path: artifacts/nonFree
|
path: artifacts/nonFree
|
||||||
|
|
||||||
- name: Get Non-Free Bundle
|
- name: Get Non-Free Bundle
|
||||||
uses: actions/download-artifact@f8e41fbffeebb48c0273438d220bb2387727471f
|
uses: actions/download-artifact@4a7a711286f30c025902c28b541c10e147a9b843
|
||||||
with:
|
with:
|
||||||
name: APS Non-Free Release Bundle
|
name: APS Non-Free Release Bundle
|
||||||
path: artifacts/nonFree
|
path: artifacts/nonFree
|
||||||
|
|
||||||
- name: Get Free Release APK
|
- name: Get Free Release APK
|
||||||
uses: actions/download-artifact@f8e41fbffeebb48c0273438d220bb2387727471f
|
uses: actions/download-artifact@4a7a711286f30c025902c28b541c10e147a9b843
|
||||||
with:
|
with:
|
||||||
name: APS Free Release APK
|
name: APS Free Release APK
|
||||||
path: artifacts/free
|
path: artifacts/free
|
||||||
|
|
||||||
- name: Get Changelog Entry
|
- name: Get Changelog Entry
|
||||||
id: changelog_reader
|
id: changelog_reader
|
||||||
uses: mindsers/changelog-reader-action@30552f0e948002519ff6b36ffbf889ef4da47246
|
uses: mindsers/changelog-reader-action@e1a36842bddbd512340f882735802de843998e1f
|
||||||
with:
|
with:
|
||||||
version: ${{ github.ref }}
|
version: ${{ github.ref }}
|
||||||
path: ./CHANGELOG.md
|
path: ./CHANGELOG.md
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@c38d3a140cc22e67e265c5d5b6b4888d1f02533f
|
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
tag_name: ${{ github.ref }}
|
||||||
release_name: ${{ github.ref }}
|
release_name: ${{ github.ref }}
|
||||||
body: ${{ steps.changelog_reader.outputs.log_entry }}
|
body: ${{ steps.changelog_reader.outputs.changes }}
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ jobs:
|
||||||
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
|
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
|
||||||
|
|
||||||
- name: Upload Non-Free Release Apk
|
- name: Upload Non-Free Release Apk
|
||||||
uses: actions/upload-release-asset@e9f0662bdf9868f4aac644f0eedc2b56567fdba8
|
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -107,7 +107,7 @@ jobs:
|
||||||
asset_content_type: application/vnd.android.package-archive
|
asset_content_type: application/vnd.android.package-archive
|
||||||
|
|
||||||
- name: Upload Non-Free Release Bundle
|
- name: Upload Non-Free Release Bundle
|
||||||
uses: actions/upload-release-asset@e9f0662bdf9868f4aac644f0eedc2b56567fdba8
|
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -117,7 +117,7 @@ jobs:
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
|
|
||||||
- name: Upload Free Release Apk
|
- name: Upload Free Release Apk
|
||||||
uses: actions/upload-release-asset@e9f0662bdf9868f4aac644f0eedc2b56567fdba8
|
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -50,5 +50,5 @@ jobs:
|
||||||
|
|
||||||
- name: Close and release repository
|
- name: Close and release repository
|
||||||
uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
|
uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
|
||||||
with:
|
with:
|
||||||
arguments: closeAndReleaseRepository
|
arguments: closeAndReleaseRepository
|
||||||
|
|
4
.github/workflows/draft_new_release.yml
vendored
4
.github/workflows/draft_new_release.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
||||||
ref: ${{ env.CHECKOUT_REF }}
|
ref: ${{ env.CHECKOUT_REF }}
|
||||||
|
|
||||||
- name: Update changelog
|
- name: Update changelog
|
||||||
uses: thomaseizinger/keep-a-changelog-new-release@96ebf19f2bddaf72406c84691b9c2d827da53140
|
uses: thomaseizinger/keep-a-changelog-new-release@9f6c16b8af7dd10f8aa0ad740fd648b2cfe22171
|
||||||
with:
|
with:
|
||||||
version: ${{ github.event.milestone.title }}
|
version: ${{ github.event.milestone.title }}
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ jobs:
|
||||||
git commit -m "build: bump version"
|
git commit -m "build: bump version"
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@45c510e1f68ba052e3cd911f661a799cfb9ba3a3
|
uses: peter-evans/create-pull-request@052fc72b4198ba9fbc81b818c6e1859f747d49a8
|
||||||
with:
|
with:
|
||||||
author: GitHub Actions <noreply@github.com>
|
author: GitHub Actions <noreply@github.com>
|
||||||
body: This is an automated pull request to bump the changelog for the ${{ github.event.milestone.title }} release.
|
body: This is an automated pull request to bump the changelog for the ${{ github.event.milestone.title }} release.
|
||||||
|
|
2
.github/workflows/pull_request.yml
vendored
2
.github/workflows/pull_request.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
# uses: technote-space/auto-cancel-redundant-workflow@f9dfa1c127a520e4d71b92892850f861fb861206
|
# uses: technote-space/auto-cancel-redundant-workflow@f9dfa1c127a520e4d71b92892850f861fb861206
|
||||||
|
|
||||||
- name: Check if relevant files have changed
|
- name: Check if relevant files have changed
|
||||||
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
|
uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7
|
||||||
id: service-changed
|
id: service-changed
|
||||||
with:
|
with:
|
||||||
result-encoding: string
|
result-encoding: string
|
||||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
run: if [[ $(git diff --binary --stat) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
|
run: if [[ $(git diff --binary --stat) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@45c510e1f68ba052e3cd911f661a799cfb9ba3a3
|
uses: peter-evans/create-pull-request@052fc72b4198ba9fbc81b818c6e1859f747d49a8
|
||||||
if: env.UPDATED == 'true'
|
if: env.UPDATED == 'true'
|
||||||
with:
|
with:
|
||||||
assignees: msfjarvis
|
assignees: msfjarvis
|
||||||
|
|
|
@ -13,4 +13,4 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
- uses: gradle/wrapper-validation-action@2a9956c214b2b4b63544570479c926e7a121218e
|
- uses: gradle/wrapper-validation-action@e2c57acffb2c9aa5a8dc6eda2bbae0b6e495bd4c
|
||||||
|
|
2
.github/workflows/weekly_crowdin_sync.yml
vendored
2
.github/workflows/weekly_crowdin_sync.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
run: if [[ $(git diff --stat) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
|
run: if [[ $(git diff --stat) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@45c510e1f68ba052e3cd911f661a799cfb9ba3a3
|
uses: peter-evans/create-pull-request@052fc72b4198ba9fbc81b818c6e1859f747d49a8
|
||||||
if: env.UPDATED == 'true'
|
if: env.UPDATED == 'true'
|
||||||
with:
|
with:
|
||||||
assignees: msfjarvis
|
assignees: msfjarvis
|
||||||
|
|
Loading…
Reference in a new issue