-
Notifications
You must be signed in to change notification settings - Fork 14
38 lines (34 loc) · 1.03 KB
/
release.yml
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
name: Release
on:
pull_request:
schedule:
# 2 AM on Sunday
- cron: "0 2 * * 0"
workflow_dispatch:
# we do not want more than one release workflow executing at the same time, ever
concurrency:
group: release
# cancelling in the middle of a release would create incomplete releases
# so cancel-in-progress is false
cancel-in-progress: false
permissions:
contents: write
checks: write
id-token: write
statuses: write
jobs:
release:
if: github.repository == 'substrait-io/substrait-go'
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run go-semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
wget https://github.com/Nightapes/go-semantic-release/releases/download/v2.1.1/go-semantic-release.linux_x86_64.zip
unzip go-semantic-release.linux_x86_64.zip
./go-semantic-release.linux_x86_64 release -l trace