Skip to content

Update all GHA and reference pinned version number/tag #5

Update all GHA and reference pinned version number/tag

Update all GHA and reference pinned version number/tag #5

Workflow file for this run

name: Update draft specification
on:
workflow_dispatch:
push:
branches: draft
jobs:
build-draft:
name: Make draft spec release
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v
5.0.0

Check failure on line 14 in .github/workflows/draft.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/draft.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
with:
python-version: '3.10'
cache: pip
- name: Clone
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.
1
- name: Build specification
run: |
python -m pip install -r requirements.txt
mkdir build && cd build
make -f ../Makefile draft
- name: Switch branch
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.
1
with:
ref: gh-pages
clean: false
- name: Push generated specification
run: |
git config user.name "TUF Specification Automation"
git config user.email theupdateframework@googlegroups.com
rm -fr draft
mv build/* .
rmdir build
git add .
git commit -m "Publish latest draft specification"
git push