Skip to content

Commit a2af846

Browse files
committed
ci: build artifacts
1 parent b1179ed commit a2af846

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build plugin
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v3
12+
13+
- name: Set up Python
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: '3.9'
17+
18+
- name: Set outputs
19+
id: vars
20+
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
21+
22+
- name: Build plugin zip artifact
23+
id: build
24+
run: |
25+
VERSION=${{ steps.vars.outputs.sha_short }}
26+
chmod +x ./makeBuild.sh
27+
./makeBuild.sh $VERSION DEV
28+
29+
- name: Upload artifacts
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: xyz-qgis-plugin-DEV
33+
path: build/*.zip

0 commit comments

Comments
 (0)