Skip to content

Commit a798bff

Browse files
committed
Compute BUILD_DIR dynamically
1 parent fd8bf73 commit a798bff

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ on:
88
jobs:
99
build-and-release:
1010
runs-on: ubuntu-latest
11-
env:
12-
BUILD_DIR: "${HOME}/.config/raycast/extensions/anytype"
1311

1412
steps:
1513
- name: Checkout tag
@@ -52,6 +50,9 @@ jobs:
5250
run: |
5351
ls -R "$GITHUB_WORKSPACE" | sed 's/^/ /'
5452
53+
- name: Compute BUILD_DIR
54+
run: echo "BUILD_DIR=$HOME/.config/raycast/extensions/anytype" >> $GITHUB_ENV
55+
5556
- name: Verify build output
5657
run: |
5758
if [ ! -d "${BUILD_DIR}" ]; then

0 commit comments

Comments
 (0)