Skip to content

Commit

Permalink
Update GitHub Actions for 4.1.2
Browse files Browse the repository at this point in the history
Signed-off-by: DITA-OT Bot <[email protected]>
  • Loading branch information
jelovirt authored and dita-ot-bot committed Nov 10, 2023
1 parent 831f517 commit e74c8c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/actions/render/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
default: 'master'
DITA_OT_VERSION:
description: 'DITA-OT version used for rendering'
default: '4.0.1'
default: '4.1.2'
runs:
using: 'composite'
steps:
Expand All @@ -23,7 +23,6 @@ runs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6

- name: Download website plug-in
shell: bash
run: |
Expand All @@ -33,7 +32,6 @@ runs:
with:
path: dita-ot-${{ inputs.DITA_OT_VERSION }}
key: ${{ runner.os }}-dita-ot-${{ inputs.DITA_OT_VERSION }}

- name: Download stable DITA-OT
shell: bash
run: |
Expand All @@ -44,7 +42,6 @@ runs:
echo "Use cached dita-ot-${{ inputs.DITA_OT_VERSION }}"
fi
dita-ot-${{ inputs.DITA_OT_VERSION }}/bin/dita install org.dita-ot.html.zip --force -v
- name: Get develop DITA-OT ETag
shell: bash
run: |
Expand All @@ -66,7 +63,6 @@ runs:
echo "Use cached dita-ot-develop"
fi
echo "DITA_OT_DEV=$(find dita-ot-develop -name 'dita-ot-*@*' -type d | head -1)" >> $GITHUB_ENV
- name: Run DITA-OT
shell: bash
run: |
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This workflow builds changes to release tag and commits to website repo for release PR

name: Generate website release PR

on:
workflow_dispatch:
inputs:
Expand All @@ -13,7 +12,6 @@ on:
required: true
repository_dispatch:
types: [release]

jobs:
# deploy:
# runs-on: ubuntu-latest
Expand Down Expand Up @@ -116,13 +114,11 @@ jobs:
# path: website
# labels: |
# release-updates

update-ci:
runs-on: ubuntu-latest
steps:
- name: Check out docs
uses: actions/checkout@v4

- name: Update GitHub Actions release workflow
uses: mikefarah/yq@master
with:
Expand All @@ -131,7 +127,6 @@ jobs:
uses: mikefarah/yq@master
with:
cmd: yq -i '.inputs.DITA_OT_VERSION.default = "${{ github.event.inputs.dita-ot-version }}"' '.github/actions/render/action.yml'

- name: Create release PR
uses: peter-evans/create-pull-request@v5
with:
Expand All @@ -145,3 +140,6 @@ jobs:
token: ${{ secrets.DOCS_RELEASE_TOKEN }}
labels: |
release-updates
deploy:
env:
DITA_OT_VERSION: 4.1.2

0 comments on commit e74c8c4

Please sign in to comment.