Skip to content

Bump actions/setup-java from 3 to 4 (#9) #15

Bump actions/setup-java from 3 to 4 (#9)

Bump actions/setup-java from 3 to 4 (#9) #15

Workflow file for this run

name: Trellis Vocabulary Deployment
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 11
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Link with flake8
run: flake8 . --count --show-source --statistics
- name: Generate vocabularies
run: python scripts/ttl2others.py trellis.ttl
- name: Validate HTML
run: html5validator
- name: Sync to AWS S3
uses: jakejarvis/[email protected]
with:
args: --acl public-read
env:
AWS_S3_BUCKET: ${{ secrets.AWS_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
SOURCE_DIR: "ns"
DEST_DIR: "ns"