Skip to content

Commit

Permalink
ci: github runner does not execute shell commands, use alternate env var
Browse files Browse the repository at this point in the history
  • Loading branch information
cvn committed Oct 30, 2023
1 parent 6f1ad65 commit b3793ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-docset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ on:
- cron: '0 0 1 * *'
workflow_dispatch:

env:
new_version: $(date -u +"%Y-%m-%d")

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Create version environment variable
run: echo "new_version=$(date -u +%Y-%m-%d)" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v4
- name: Set version number
Expand Down

0 comments on commit b3793ed

Please sign in to comment.