Skip to content

fix release workflow #12

fix release workflow

fix release workflow #12

Workflow file for this run

name: release
on: [pull_request, workflow_dispatch]
jobs:
release:
runs-on: ubuntu-latest
steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Get the latest version
# id: latest
# uses: miniscruff/changie-action@v2
# with:
# version: latest
# args: latest
# - name: Release
# uses: softprops/action-gh-release@v2
# with:
# body_path: ".changes/${{ steps.latest.outputs.output }}.md"
# tag_name: "${{ steps.latest.outputs.output }}"
- name: Test
run: echo "$TOKEN1" > test && cat test && echo "$TOKEN2" > test && cat test
shell: bash
env:
TOKEN1: ${{secrets.GITHUB_TOKEN}}
TOKEN2: ${{secrets.RELEASE_TOKEN}}
# - name: Release
# uses: softprops/action-gh-release@v2
# with:
# body: View full release notes in the [Changelog](https://github.com/bqbooster/dbt-bigquery-monitoring/blob/main/CHANGELOG.md)
# tag_name: v2 # currently no way of finding this in changie directly
# token: ${{ secrets.GITHUB_TOKEN }}