flakebox-flakehub-publish.yml 875 B

1234567891011121314151617181920212223242526272829303132333435
  1. # THIS FILE IS AUTOGENERATED FROM FLAKEBOX CONFIGURATION
  2. jobs:
  3. flakehub-publish:
  4. permissions:
  5. contents: read
  6. id-token: write
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v4
  10. with:
  11. ref: ${{ (inputs.tag != null) && format('refs/tags/{0}', inputs.tag) || ''
  12. }}
  13. - name: Install Nix
  14. uses: DeterminateSystems/nix-installer-action@v4
  15. - name: Flakehub Push
  16. uses: DeterminateSystems/flakehub-push@main
  17. with:
  18. name: ${{ github.repository }}
  19. tag: ${{ inputs.tag }}
  20. visibility: public
  21. name: Publish to Flakehub
  22. 'on':
  23. push:
  24. tags:
  25. - v?[0-9]+.[0-9]+.[0-9]+*
  26. workflow_dispatch:
  27. inputs:
  28. tags:
  29. description: The existing tag to publish to FlakeHub
  30. required: true
  31. type: string
  32. # THIS FILE IS AUTOGENERATED FROM FLAKEBOX CONFIGURATION