Skip to content

Commit

Permalink
build(workflows): consitent naming of artifacts enables association
Browse files Browse the repository at this point in the history
  • Loading branch information
GiugAles committed Jan 24, 2024
1 parent a99463f commit 3dc96a7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/containerize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@ env:
YGGDRASIL_VERSION: 0.0.0

jobs:
set-vars:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.gen_version.outputs.VERSION }}
steps:
- name: set values
id: gen_version
run: |
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Use the value
# this sets environment variables for this step
env:
VERSION: ${{ steps.gen_version.outputs.VERSION }}
run: |
echo "${VERSION}"
build-and-test:
runs-on: ubuntu-latest
defaults:
Expand Down

0 comments on commit 3dc96a7

Please sign in to comment.