Skip to content

Commit dfbdf3f

Browse files
committed
updates CI config to work on works / other projects
1 parent dc8e101 commit dfbdf3f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/depends.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ jobs:
108108
if: startsWith(github.ref, 'refs/tags/')
109109
run: |
110110
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
111-
chmod +x /home/runner/work/itw3/itw3/build/${{ matrix.toolchain.host }}/release/bin/*
112-
(cd /home/runner/work/itw3/itw3/build/${{ matrix.toolchain.host }}/release/bin && tar -cvf . itw3-${GITHUB_REF/refs\/tags\//}-${{ matrix.toolchain.host }}.tar)
111+
chmod +x ${{ github.workspace }}/build/${{ matrix.toolchain.host }}/release/bin/*
112+
(cd ${{ github.workspace }}/build/${{ matrix.toolchain.host }}/release/bin && tar -cvf itw3-${GITHUB_REF/refs\/tags\//}-${{ matrix.toolchain.host }}.tar *)
113113
- name: Release
114114
uses: softprops/action-gh-release@v1
115115
if: startsWith(github.ref, 'refs/tags/')
@@ -119,5 +119,4 @@ jobs:
119119
with:
120120
name: ${{ matrix.toolchain.name }}
121121
path: |
122-
/home/runner/work/itw3/itw3/build/${{ matrix.toolchain.host }}/release/bin/itw3-wallet-cli*
123-
/home/runner/work/itw3/itw3/build/${{ matrix.toolchain.host }}/release/bin/itw3d*
122+
${{ github.workspace }}/build/${{ matrix.toolchain.host }}/release/bin/*

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,4 @@ jobs:
153153
- uses: actions/upload-artifact@v2
154154
with:
155155
name: ${{ env.OUTPUT }}
156-
path: /home/runner/work/itw3/itw3/${{ env.OUTPUT }}
156+
path: ${{ github.workspace }}/${{ env.OUTPUT }}

0 commit comments

Comments
 (0)