-
Notifications
You must be signed in to change notification settings - Fork 34
36 lines (32 loc) · 1.07 KB
/
delete-glossary.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: delete-glossary
on:
workflow_dispatch:
inputs:
glossaryId:
description: 'glossaryId'
required: true
jobs:
delete-glossary:
name: Delete glossary
runs-on: ubuntu-22.04
steps:
- name: Checkout
# Checkout target revision from git repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # all history (required for getting last modified time of files)
- name: Cache bundle directory
# Cache ruby bundle directory to speed up build
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
- name: Setup build env
# Setup build environment(install runtime, library, etc.)
run: |
bin/setup-build-env-on-ubuntu
- name: Delete glossary
# Delete a DeepL glossary
run: vendor/quarkus-l10n-utils/bin/delete-glossary --glossaryId=${{ github.event.inputs.glossaryId }}
env:
TRANSLATOR_DEEPL_APIKEY: ${{ secrets.TRANSLATOR_DEEPL_APIKEY }}