Skip to content

Commit baab108

Browse files
Relocate Tagging Step
1 parent d12fbf6 commit baab108

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/CI-full.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,15 @@ jobs:
2323
sudo rm -rf /usr/share/dotnet
2424
sudo rm -rf /usr/share/swift
2525
sudo apt-get clean
26-
- uses: actions/checkout@v4
2726
28-
- name: Get the VCell version from tags
29-
id: version
30-
run: echo "FRIENDLY_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV
27+
- uses: actions/checkout@v4
3128

3229
- name: set global environment variables
3330
run: |
3431
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
35-
echo "FRIENDLY_TAG=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
32+
echo "FRIENDLY_TAG=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
33+
else
34+
echo "FRIENDLY_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV
3635
fi
3736
echo "VCELL_TAG=`git rev-parse --short HEAD`" >> $GITHUB_ENV
3837
echo "VCELL_REPO_NAMESPACE=ghcr.io/virtualcell" >> $GITHUB_ENV

0 commit comments

Comments
 (0)