[node-js-release-info] add docs and examples for .fetch_all() method #57
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run CI/CD Jobs | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
paths: | |
- ".github/workflows/**.yml" | |
- "**/Cargo.toml" | |
- "**.rs" | |
workflow_dispatch: | |
jobs: | |
info: | |
name: Harvest Commit Info | |
runs-on: ubuntu-latest | |
outputs: | |
tags: ${{ steps.info.outputs.tags }} | |
steps: | |
- name: Checkout Source Code | |
uses: actions/checkout@v3 | |
with: | |
fetch-tags: true | |
- name: Set Info | |
id: info | |
run: ./bin/ci-set-commit-info.sh | |
debug: | |
name: Debug | |
needs: info | |
runs-on: ubuntu-latest | |
steps: | |
- name: Log Info | |
run: | | |
echo ":::: GIT REF: ${{github.ref}}" | |
echo ":::: GIT REF_NAME: ${{github.ref_name}}" | |
echo ":::: TAGS: ${{needs.info.outputs.tags}}" | |
- name: Test Tag Check | |
if: contains(needs.info.outputs.tags, '@') | |
run: | | |
echo ":::: FOUND TAGS" | |
test: | |
name: Run Tests | |
needs: [info, debug] | |
uses: ./.github/workflows/test.yaml | |
secrets: inherit | |
publish: | |
name: Publish Crates | |
needs: [info, debug, test] | |
if: github.ref_name == 'main' && contains(needs.info.outputs.tags, '@') | |
uses: ./.github/workflows/publish.yaml | |
secrets: inherit | |
with: | |
tags: ${{needs.info.outputs.tags}} | |