Skip to content

Commit c22d9a2

Browse files
✨ Create required files
1 parent 3ff453b commit c22d9a2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/scripts/release/build-and-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
set -e
66

77
echo "🔨 Building Docker image..."
8-
docker build -t test-action:${{ steps.setup.outputs.version }} .
8+
docker build -t test-action:$VERSION .
99

1010
echo "🧪 Running basic tests..."
1111
# Quick validation test
@@ -15,6 +15,6 @@ docker run --rm \
1515
-e INPUT_ARGS="echo 'Test successful'" \
1616
-e INPUT_DRY_RUN=true \
1717
-e INPUT_DEBUG=true \
18-
test-action:${{ steps.setup.outputs.version }}
18+
test-action:$VERSION
1919

2020
echo "✅ Build and test completed successfully"

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939

4040
- name: Build
4141
run: .github/scripts/release/build-and-test.sh
42+
env:
43+
VERSION: ${{ steps.setup.outputs.version }}
4244

4345
- name: Changelog
4446
id: changelog

0 commit comments

Comments
 (0)