Skip to content

Commit 6f1d9db

Browse files
committed
?
1 parent 9d380fd commit 6f1d9db

File tree

4 files changed

+35
-127
lines changed

4 files changed

+35
-127
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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 }}

Jenkinsfile

Lines changed: 0 additions & 104 deletions
This file was deleted.

parse_rules

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)