Skip to content

Commit

Permalink
update build.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Sep 27, 2024
1 parent 71d991b commit 5127cd8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ jobs:
id: get_version
run: |
VERSION="${GITHUB_REF##*/}.dev"
echo "VERSION -> $VERSION"
DATE=$(date +%F)
VERSION=$(echo $VERSION | sed 's/v//')
VERSION=$(echo $VERSION | sed 's/v//1')
echo "VERSION -> $VERSION"
VERSION="$VERSION/$DATE"
echo "VERSION -> $VERSION"
echo ::set-output name=VERSION::$VERSION
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
- id: step1
name: Build
Expand Down Expand Up @@ -77,7 +79,7 @@ jobs:
echo "JOB_CONTEXT -> $JOB_CONTEXT"
echo "MATRIX_CONTEXT -> $MATRIX_CONTEXT"
echo "RUNNER_CONTEXT -> $RUNNER_CONTEXT"
echo "VERSION -> $VERSION"
echo "VERSION -> ${{ needs.build.outputs.VERSION }}"
- name: Set up GoLang
uses: actions/setup-go@v3
Expand Down

0 comments on commit 5127cd8

Please sign in to comment.