File tree Expand file tree Collapse file tree 4 files changed +35
-127
lines changed
Expand file tree Collapse file tree 4 files changed +35
-127
lines changed Original file line number Diff line number Diff line change @@ -25,24 +25,11 @@ jobs:
2525 - name : Build cs-studio
2626 working-directory : ./cs-studio
2727 run : mvn verify -Dcs-studio=false -Declipse=false -Dtycho.localArtifacts=ignore -Dcsstudio.composite.repo=p2repo -DskipTests=true
28- - name : Upload products
28+ - name : Upload artefact
2929 uses : actions/upload-artifact@v4
3030 with :
31- name : product zips
31+ name : cs-studio
3232 path : |
33- cs-studio/product/repository/target/products/*.zip
34- compression-level : 0
33+ cs-studio
3534 if-no-files-found : error
36- retention-days : 10
37- - name : Upload P2 repository
38- uses : actions/upload-artifact@v4
39- with :
40- name : p2_repo
41- path : |
42- cs-studio/**/*.xml
43- cs-studio/**/*.properties
44- cs-studio/**/*.jar
45- cs-studio/**/p2.index
46- compression-level : 1
47- if-no-files-found : error
48- retention-days : 10
35+ retention-days : 30
Original file line number Diff line number Diff line change 1+ name : Build release
2+ on : push
3+ jobs :
4+ build :
5+ if : github.ref_type == 'tag'
6+ name : Build
7+ uses : ./.github/workflows/build.yml
8+ release :
9+ if : github.ref_type == 'tag'
10+ name : Release
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/download-artifact@v4
14+ with :
15+ name : cs-studio
16+ path : cs-studio-release/
17+ - name : Create GitHub Release
18+ env :
19+ GITHUB_TOKEN : ${{ github.token }}
20+ run : >-
21+ gh release create
22+ '${{ github.ref_name }}'
23+ --repo '${{ github.repository }}'
24+ --notes ""
25+ - name : Upload artifact signatures to GitHub Release
26+ env :
27+ GITHUB_TOKEN : ${{ github.token }}
28+ run : >-
29+ gh release upload
30+ '${{ github.ref_name }}' cs-studio-release/**
31+ --repo '${{ github.repository }}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments