Skip to content

Commit f76f17b

Browse files
committed
ci: the checks should retrieve the latest version of arkscript and use this artifact to run the tests
1 parent d53abc7 commit f76f17b

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,19 @@ jobs:
1313
steps:
1414
- name: Checkout std
1515
uses: actions/checkout@v2
16-
17-
- name: Download Linux artifact
18-
uses: dawidd6/action-download-artifact@v2
16+
17+
- uses: robinraju/release-downloader@v1.5
1918
with:
20-
github_token: ${{secrets.GITHUB_TOKEN}}
21-
workflow: ci.yml
22-
branch: dev
23-
name: ubuntu-gcc-10
24-
path: bin
25-
repo: ArkScript-lang/Ark
26-
19+
latest: true
20+
repository: ArkScript-lang/Ark
21+
fileName: "linux-gcc-11.zip"
22+
2723
- name: Set up files
2824
shell: bash
2925
run: |
30-
cd bin
31-
cp lib/*.arkm ../
32-
chmod u+x arkscript *.so
33-
cp arkscript ../
34-
cp *.so ../
26+
unzip linux-gcc-11.zip
27+
chmod u+x arkscript *.so lib/*.arkm
28+
cp lib/*.arkm ./
3529
3630
- name: Tests
3731
shell: bash

0 commit comments

Comments
 (0)