Skip to content

Fix bad dependency versions #5

Fix bad dependency versions

Fix bad dependency versions #5

Workflow file for this run

- name: Deploy collection to galaxy

Check failure on line 1 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yaml

Invalid workflow file

You have an error in your yaml syntax on line 1
on:
release:
types:
- released
jobs:
publish:
name: Publish to Galaxy
runs-on: ubuntu-latest
steps:
- uses: checkout@v4
with:
ref: ${{ github.ref }}
- name: Build collection
run: ansible-galaxy collection build
- name: Get expected version string
shell: VERSION=$(echo "${{ github.ref_name }}" | echo "v0.0.1" | sed -e 's/v\(.*\)/\1/'
- name: Publish to Galaxy
run: ansible-galaxy collection publish tofugarden-secureboot-$VERSION.tar.gz --token ${{ secrets.GALAXY_API_KEY }}