Skip to content

Commit 6c2dead

Browse files
authored
ci: set release workflow up for rc1
1 parent 432c0d2 commit 6c2dead

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Release
22

33
on:
44
push:
5-
tags:
6-
- "v*.*.*"
7-
- "v*.*"
85

96
permissions:
107
contents: write
@@ -17,10 +14,10 @@ concurrency:
1714

1815
jobs:
1916
pcb:
20-
uses: xboxoneresearch/ASPECT2-PCB/.github/workflows/build_pcbs.yml@main
17+
uses: xboxoneresearch/ASPECT2-PCB/.github/workflows/build_pcbs.yml@rc1
2118

2219
firmware:
23-
uses: xboxoneresearch/ASPECT2-PCB/.github/workflows/build_stm32_fw.yml@main
20+
uses: xboxoneresearch/ASPECT2-PCB/.github/workflows/build_stm32_fw.yml@rc1
2421

2522
release:
2623
runs-on: ubuntu-latest
@@ -34,16 +31,11 @@ jobs:
3431
uses: actions/download-artifact@v5
3532
- name: Zip up release artifact
3633
run: 7z a aspect2-pcb-${{ github.ref_name }}.7z *
37-
- name: Create release
38-
if: startsWith(github.ref, 'refs/tags/')
39-
uses: softprops/action-gh-release@v2
40-
with:
41-
files: aspect2-pcb-*.7z
4234

4335
- uses: actions/upload-pages-artifact@v3
4436
with:
4537
path: 'output'
4638

4739
- id: deployment
48-
if: github.ref_name == 'main'
49-
uses: actions/deploy-pages@v4
40+
if: github.ref_name == 'rc1'
41+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)