Skip to content

Commit fd21784

Browse files
author
hossainemruz
committed
Use env for workdir
Signed-off-by: hossainemruz <[email protected]>
1 parent 7be9210 commit fd21784

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ jobs:
1010
name: Release
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v1
13+
- uses: actions/checkout@v2
14+
15+
- name: Export Environment Variables
16+
run: |
17+
echo "WORKING_DIR=$(pwd)" >> $GITHUB_ENV
1418
1519
- name: Build Release Binaries
1620
run: |
@@ -55,4 +59,4 @@ jobs:
5559
with:
5660
fail_on_unmatched_files: true
5761
body: ${{steps.changelog-builder.outputs.changelog}}
58-
files: ${{env.GITHUB_WORKSPACE}}/.go/bin/restic*
62+
files: ${{env.WORKING_DIR}}/.go/bin/restic_*

0 commit comments

Comments
 (0)