Skip to content

Commit 02da1f3

Browse files
committed
Update info.yml
1 parent 46ca131 commit 02da1f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/info.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
info:
19-
name: Project Info
19+
name: 🖥️ Project Info
2020
runs-on: ubuntu-latest
2121
outputs:
2222
project_version: ${{ steps.project_version.outputs.tag }}
@@ -29,7 +29,7 @@ jobs:
2929
exists: ${{ steps.check_tag.outputs.exists }}
3030

3131
steps:
32-
- name: Checkout
32+
- name: 📁 Checkout
3333
uses: actions/[email protected]
3434
with:
3535
fetch-depth: 0
@@ -70,7 +70,7 @@ jobs:
7070
id: check_pakku_lock_prev
7171
shell: bash
7272
run: |
73-
if ! git ls-tree -r ${latest_tag} -- ./pakku-lock.json &> /dev/null; then
73+
if ! git ls-tree -r ${{ steps.get_latest_tag.outputs.value }} -- ./pakku-lock.json &> /dev/null; then
7474
echo "❌ File pakku-lock.json not found in previous tag" && exit 1
7575
else
7676
echo "✔️ File pakku-lock.json found in previous tag"
@@ -80,7 +80,7 @@ jobs:
8080
id: copy_pakku_lock_prev
8181
shell: bash
8282
run: |
83-
git show tags/$latest_tag:./pakku-lock.json > ./pakku-lock-prev.json
83+
git show tags/${{ steps.get_latest_tag.outputs.value }}:./pakku-lock.json > ./pakku-lock-prev.json
8484
if [ -s ./pakku-lock-prev.json ]; then
8585
echo "✔️ File pakku-lock-prev.json created"
8686
else

0 commit comments

Comments
 (0)