From 240bfb5ee40eb84b753cb8ec881e01eae18cf732 Mon Sep 17 00:00:00 2001 From: tuancoltech Date: Tue, 27 Feb 2024 22:49:43 +0700 Subject: [PATCH] Add release build scripts for filepicker module --- .github/workflows/release_filepicker.yml | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release_filepicker.yml diff --git a/.github/workflows/release_filepicker.yml b/.github/workflows/release_filepicker.yml new file mode 100644 index 0000000..a6175c0 --- /dev/null +++ b/.github/workflows/release_filepicker.yml @@ -0,0 +1,28 @@ +name: Release the components + +on: + push: + tags: + - 'filepicker*' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'adopt' + + - name: Validate Gradle wrapper + uses: gradle/wrapper-validation-action@v1.0.5 + + - name: Publish components to Github + uses: gradle/gradle-build-action@v2 + with: + arguments: filepicker:publish + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}