Skip to content

Commit

Permalink
Merge pull request #287 from Exabyte-io/fix-release
Browse files Browse the repository at this point in the history
fix automatic github releases
  • Loading branch information
timurbazhirov authored Oct 21, 2024
2 parents 2d00c22 + cf21169 commit f55e6c4
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions .github/workflows/build-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,32 @@ jobs:
- name: Build documentation
uses: Exabyte-io/action-mkdocs-build@main

# github-release:
# runs-on: ubuntu-24.04
# if: github.ref_name == 'master'
# needs: [tests]
github-release:
runs-on: ubuntu-24.04
if: github.ref_name == 'master'
needs: [tests]

# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
steps:
- name: Checkout repository
uses: actions/checkout@v4

# - name: Checkout actions repository
# uses: actions/checkout@v4
# with:
# repository: Exabyte-io/actions
# token: ${{ secrets.BOT_GITHUB_TOKEN }}
# path: actions
- name: Checkout actions repository
uses: actions/checkout@v4
with:
repository: Exabyte-io/actions
token: ${{ secrets.BOT_GITHUB_TOKEN }}
path: actions

# - name: Determine git tag
# id: get-tag-name
# uses: ./actions/git/version
- name: Configure repository
uses: ./actions/git/config
with:
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}

- name: Determine git tag
id: get-tag-name
uses: ./actions/git/version

# - name: Publish new git tag and release
# uses: ./actions/git/release
# with:
# github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
# tag-name: ${{ steps.get-tag-name.outputs.tag-name }}
- name: Publish new git tag and release
uses: ./actions/git/release
with:
tag-name: ${{ steps.get-tag-name.outputs.tag-name }}

0 comments on commit f55e6c4

Please sign in to comment.