Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
talosross authored Nov 24, 2023
1 parent 387d429 commit 74a6868
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,17 @@ jobs:

# Set Current Date As Env Variable
- name: Set current date as env variable
run: echo "date_today=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
run: |
echo "Setting current date..."
echo "date_today=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
echo "Current date set to $date_today"
# Set Repository Name As Env Variable
- name: Set repository name as env variable
run: echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
run: |
echo "Setting repository name..."
echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
echo "Repository name set to $repository_name"
- name: Set Up JDK
uses: actions/setup-java@v3
Expand Down

0 comments on commit 74a6868

Please sign in to comment.