Skip to content

try: remove all quotes #76

try: remove all quotes

try: remove all quotes #76

Workflow file for this run

name: Auto-Publish
on:
push:
branches:
- main
workflow_dispatch:
jobs:
tests-artifacts:
uses: ./.github/workflows/artifacts.yaml
get-version-tags:
runs-on: ubuntu-22.04
outputs:
job-tags: ${{ steps.get-tags.outputs.step-tags }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get all tags
id: get-tags
run: |
sudo apt install jq
git fetch --tags
json_tags=echo git tag | jq -R -s -c 'split("\n")[:-1]'
echo $json_tags
echo step-tags=${json_tags}
echo step-tags=${json_tags} >> $GITHUB_OUTPUT
build:
name: Build and Validate
runs-on: ubuntu-22.04
needs: get-version-tags
permissions:
contents: write
strategy:
matrix:
matrix-tags: ${{ fromJSON(needs.get-version-tags.outputs.job-tags) }}
steps:
- uses: actions/setup-node@v4
with:
node-version: 22.x
- run: |
echo "${{ matrix.matrix-tags }}"
mkdir 0.8.1
- uses: actions/checkout@v4
with:
ref: '0.8.1'
path: '0.8.1'
# - name: Copy assets up a level
# run: |
# cp specifications/*.png .
# cp specifications/*.yaml .
# mkdir -p resources/v0.8
# cp -r artifacts/src/main/resources/* resources/v0.8
# rm -rf artifacts
- uses: actions/upload-pages-artifact@v3
with:
path: .
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4