Skip to content

Commit d763146

Browse files
Update build workflow to use GITHUB_ENV for date output and clean up container removal
1 parent 644c968 commit d763146

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: Get current date
4747
id: date
48-
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
48+
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
4949

5050
# Create a release on GitHub using GITHUB_TOKEN
5151
- name: Create GitHub Release
@@ -75,4 +75,4 @@ jobs:
7575
- name: Clean Up
7676
run: |
7777
docker stop arch-container || echo 'Failed to stop the container.'
78-
docker rm arch-container || echo 'Failed to remove the container.'
78+
docker rm arch-container || echo 'Failed to remove the container.'

0 commit comments

Comments
 (0)