Skip to content

chore(deps): bump codecov/codecov-action from 4.0.1 to 4.5.0 (#1863) #43

chore(deps): bump codecov/codecov-action from 4.0.1 to 4.5.0 (#1863)

chore(deps): bump codecov/codecov-action from 4.0.1 to 4.5.0 (#1863) #43

Workflow file for this run

name: Upload Github Pages
on:
push:
branches:
- main
defaults:
run:
shell: bash
permissions:
contents: read
packages: write
id-token: write
pages: write
env:
LC_ALL: C.UTF-8
jobs:
publish:
name: Publish
runs-on: [ self-hosted, Linux, medium, ephemeral ]
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: Checkout Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Java
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0
- name: Compile SDK
run: ./gradlew compileJava --scan
- name: Generate Javadoc
run: ./gradlew sdk:javadoc -Dfile.encoding=UTF-8 --scan
- name: Pages
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: ./sdk/build/docs/javadoc
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@decdde0ac072f6dcbe43649d82d9c635fff5b4e4 # v4.0.4
with:
token: ${{ secrets.GITHUB_TOKEN }}