Skip to content

Commit 8c01113

Browse files
authored
CI: simplify artifact upload
1 parent d7d9959 commit 8c01113

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,19 @@ jobs:
3333
id: toolchain-cache
3434
with:
3535
path: |
36-
toolchain.tar.gz
3736
ndless-sdk/toolchain/install
3837
# gcc/binutils/etc versions are in build_toolchain.sh, so that'll be part of our cache key
3938
key: ${{ matrix.os }}-${{ hashFiles('ndless-sdk/toolchain/build_toolchain.sh') }}
4039
- name: Build toolchain
4140
if: steps.toolchain-cache.outputs.cache-hit != 'true'
4241
working-directory: ndless-sdk/toolchain
4342
run: ./build_toolchain.sh
44-
- name: Package toolchain
45-
if: steps.toolchain-cache.outputs.cache-hit != 'true'
46-
run: tar -cvzf toolchain.tar.gz ndless-sdk/toolchain/install
4743

4844
- name: Upload built toolchain
4945
uses: actions/upload-artifact@v2
5046
with:
5147
name: toolchain-${{ matrix.os }}
52-
path: toolchain.tar.gz
48+
path: ndless-sdk/toolchain/install
5349

5450
# actual build starts here
5551
- name: Set up PATH

0 commit comments

Comments
 (0)