Skip to content

Commit

Permalink
publish-android - Bump actions/- checkout@v3.5.3, `setup-java@v…
Browse files Browse the repository at this point in the history
…3.11.0` & `cache@v3.3.1` (#4866)

Summary:
This diff bumps `actions/checkout@v3.5.3`, `actions/setup-java@v3.11.0` & `actions/cache@v3.3.1`

### Ref.:
- `actions/checkout@v3.5.3` changelog: https://github.com/actions/checkout/releases/tag/v3.5.3
- `actions/setup-java@v3.11.0` changelog: https://github.com/actions/setup-java/releases/tag/v3.11.0
- `actions/cache@v3.3.1` changelog: https://github.com/actions/cache/releases/tag/v3.3.1

## Changelog:

[GENERAL] [SECURITY] - [Actions] `publish-android` - Bump `actions/`- `checkout@v3.5.3`, `setup-java@v3.11.0` & `cache@v3.3.1`

Pull Request resolved: #4866

Test Plan: - Workflow should run and work as usual.

Reviewed By: aigoncharov

Differential Revision: D47755940

Pulled By: passy

fbshipit-source-id: 8cbd7c360b48a5948125ef01bf3ca08aca37f745
  • Loading branch information
Pranav-yadav authored and facebook-github-bot committed Jul 25, 2023
1 parent 24df607 commit dca958c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/publish-android.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Publish Android

# This action runs on 'git push tag v*' and worflow dispatch as specified below
on:
push:
tags:
Expand All @@ -10,25 +10,23 @@ on:
description: "Tag to upload artifacts to"
required: false


jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.5.3
- name: set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3.11.0
with:
distribution: 'temurin'
java-version: 17
- name: Write GPG Sec Ring
run: echo '${{ secrets.GPG_KEY_CONTENTS }}' | base64 -d > /tmp/secring.gpg
- name: Update gradle.properties
run: echo -e "signing.secretKeyRingFile=/tmp/secring.gpg\nsigning.keyId=${{ secrets.SIGNING_KEY_ID }}\nsigning.password=${{ secrets.SIGNING_PASSWORD }}\nmavenCentralPassword=${{ secrets.SONATYPE_NEXUS_PASSWORD }}\nmavenCentralUsername=${{ secrets.SONATYPE_NEXUS_USERNAME }}\nSONATYPE_HOST=DEFAULT\nRELEASE_SIGNING_ENABLED=true\nSONATYPE_AUTOMATIC_RELEASE=true" >> gradle.properties
- name: Compute build cache
run: ./scripts/checksum-android.sh checksum-android.txt
- uses: actions/cache@v2
- uses: actions/cache@v3.3.1
with:
path: |
~/.gradle/caches/modules-*
Expand Down

0 comments on commit dca958c

Please sign in to comment.