Skip to content

Commit 8c1a76c

Browse files
committed
fixed build file
1 parent c5219ff commit 8c1a76c

File tree

1 file changed

+35
-36
lines changed

1 file changed

+35
-36
lines changed

.github/workflows/extensions.yml

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,36 @@
11
on:
2-
push:
3-
branches: [main]
4-
workflow_dispatch:
5-
jobs:
6-
extensions:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- name: Checkout repository
10-
uses: actions/checkout@v4
11-
with:
12-
token: ${{ secrets.RELEASE_TOKEN }}
13-
- name: Configure git user
14-
run: |
15-
git config --local user.email "[email protected]"
16-
git config --local user.name "GitHub Action"
17-
- name: Download flowR release
18-
uses: robinraju/release-downloader@v1
19-
with:
20-
repository: flowr-analysis/vscode-flowr
21-
latest: true
22-
fileName: "*.vsix"
23-
- name: Cleanup previous flowR release
24-
run: |
25-
rm -rf .vscode/extensions/vscode-flowr
26-
mkdir -p .vscode/extensions/vscode-flowr
27-
- name: Unpack flowR release
28-
run: |
29-
unzip -o *.vsix -d _unpacked
30-
cp -a _unpacked/extension/. .vscode/extensions/vscode-flowr
31-
rm -r _unpacked *.vsix
32-
- name: Commit and push changes
33-
run: |
34-
git add .
35-
git commit -m "[skip ci] Update flowR extension"
36-
git push
37-
2+
push:
3+
branches: [main]
4+
workflow_dispatch:
5+
jobs:
6+
extensions:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repository
10+
uses: actions/checkout@v4
11+
with:
12+
token: ${{ secrets.RELEASE_TOKEN }}
13+
- name: Configure git user
14+
run: |
15+
git config --local user.email "[email protected]"
16+
git config --local user.name "GitHub Action"
17+
- name: Download flowR release
18+
uses: robinraju/release-downloader@v1
19+
with:
20+
repository: flowr-analysis/vscode-flowr
21+
latest: true
22+
fileName: "*.vsix"
23+
- name: Cleanup previous flowR release
24+
run: |
25+
rm -rf .vscode/extensions/vscode-flowr
26+
mkdir -p .vscode/extensions/vscode-flowr
27+
- name: Unpack flowR release
28+
run: |
29+
unzip -o *.vsix -d _unpacked
30+
cp -a _unpacked/extension/. .vscode/extensions/vscode-flowr
31+
rm -r _unpacked *.vsix
32+
- name: Commit and push changes
33+
run: |
34+
git add .
35+
git commit -m "[skip ci] Update flowR extension"
36+
git push

0 commit comments

Comments
 (0)