Skip to content

Commit

Permalink
added gh token
Browse files Browse the repository at this point in the history
  • Loading branch information
jblom committed Apr 5, 2024
1 parent 5cca603 commit 85343d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nighly-build-release-with-artefact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ name: Nighly release of main branch with bumped tag
# # - cron: "0 1 * * *"

on:
workflow_dispatch:
workflow_dispatch:

jobs:

bump-version: # only calculate next version if something has changed in this repo
runs-on: ubuntu-latest
outputs:
Expand All @@ -19,7 +18,8 @@ jobs:
run: |
VERSION=`gh release view --json tagName --jq '.tagName'`; \
echo "tag=${VERSION}" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# release: # only create release if something has changed in this repo
# uses: ./.github/workflows/_release-with-built-site-as-artifact.yml
# needs: [bump-version]
Expand Down

0 comments on commit 85343d5

Please sign in to comment.