-
Notifications
You must be signed in to change notification settings - Fork 16
50 lines (41 loc) · 1.4 KB
/
ci_merge_main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Create release tags
permissions:
contents: write
on: workflow_dispatch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tag-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.SUPERPOSITION_TOKEN }}
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.76.0
targets: wasm32-unknown-unknown
components: rustfmt, clippy
- name: install cargo-edit to perform set-version
uses: baptiste0928/[email protected]
with:
crate: cargo-edit
- name: install cocogitto
uses: baptiste0928/[email protected]
with:
crate: cocogitto
- name: Semver release
shell: bash
run: |
git config user.email "[email protected]"
git config user.name "Superposition Bot"
cog bump --auto --skip-ci-override "[skip ci]"
- name: Push code to main
shell: bash
run: |
git push origin main
git push origin --tags