Skip to content

Attempt to configure token #493

Attempt to configure token

Attempt to configure token #493

Workflow file for this run

name: Gradle Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
run: ./gradlew build
update_documentation:
permissions:
contents: write
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.repository == 'arhohuttunen/awstestkit' && github.ref == 'refs/heads/main'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Upload Documentation
run: ./src/publishDocumentationSnapshotOnlyIfNecessary.sh