Skip to content

Commit 9315c23

Browse files
regex doesnt work (#361)
Co-authored-by: Sohail Hussain <msohail@folio3.com>
1 parent 54b5f1e commit 9315c23

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

.github/workflows/agent.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ on:
44
push:
55
branches: [ master ]
66
tags:
7-
- 'v[0-9]+.[0-9]+.[0-9]+(-beta)?[0-9]*'
7+
# Push events to matching v*, i.e. v1.0, v20.15.10
8+
- 'v*.*.*'
89
pull_request:
910
branches: [ master ]
1011

1112
env:
1213
GIMME_GO_VERSION: 1.20.1
13-
GIMME_OS: linux
14+
GIMME_OS: linux
1415
GIMME_ARCH: amd64
15-
16+
1617
jobs:
1718
fmt:
1819
runs-on: ubuntu-latest
@@ -39,10 +40,10 @@ jobs:
3940
recursive: true
4041
ignore: "DL3018"
4142
dockerfile: scripts/dockerfiles/Dockerfile.*
42-
43+
4344
tests_coveralls:
4445
runs-on: ubuntu-latest
45-
env:
46+
env:
4647
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4748
steps:
4849
- uses: actions/checkout@v3
@@ -60,7 +61,7 @@ jobs:
6061
run: |
6162
go get github.com/mattn/goveralls@latest
6263
goveralls -coverprofile=coverage.txt -service=github
63-
64+
6465
tests_sourceclear:
6566
runs-on: ubuntu-latest
6667
steps:
@@ -73,11 +74,11 @@ jobs:
7374
env:
7475
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }}
7576
run: curl -sSL https://download.sourceclear.com/ci.sh | bash -s – scan
76-
- name: run
77+
- name: run
7778
run: |
7879
make -e setup build
7980
go get -v -d ./...
80-
81+
8182
tests_windows_build_ps1:
8283
runs-on: windows-2022
8384
steps:
@@ -93,7 +94,7 @@ jobs:
9394
if: steps.windows_build.outcome == 'success'
9495
run: |
9596
scripts/upload_artifacts.sh
96-
97+
9798
tests_acceptance_test:
9899
runs-on: ubuntu-latest
99100
steps:
@@ -111,12 +112,12 @@ jobs:
111112
make -e setup build
112113
pip install -r ./tests/acceptance/requirements.txt
113114
MYHOST="http://localhost:8080" make test-acceptance
114-
115+
115116
integration_tests:
116117
if: ${{ startsWith(github.ref, 'refs/tags/') != true }}
117118
uses: optimizely/agent/.github/workflows/integration_test.yml@master
118119
secrets: inherit
119-
120+
120121
tests_using_latest_tag_no_upload:
121122
runs-on: ubuntu-latest
122123
steps:
@@ -147,7 +148,7 @@ jobs:
147148
make -e setup build
148149
./scripts/ci_create_packages.sh
149150
./scripts/ci_build_generate_secret.sh
150-
151+
151152
build_upload_publish_draft:
152153
if: startsWith(github.ref, 'refs/tags/')
153154
runs-on: ubuntu-latest
@@ -192,7 +193,7 @@ jobs:
192193
release_github_v2.sh "$APP_VERSION"
193194
# attach generate_secret to the github release
194195
./scripts/ci_build_generate_secret.sh && ./scripts/ci_attach_generate_secret.sh
195-
196+
196197
test_github_release_assets:
197198
if: startsWith(github.ref, 'refs/tags/')
198199
runs-on: ${{ matrix.os }}
@@ -206,7 +207,7 @@ jobs:
206207
TARGET: darwin-amd64
207208
- os: ubuntu-latest
208209
TARGET: linux-amd64
209-
os_name: linux
210+
os_name: linux
210211
- os: windows-2022
211212
os_name: windows
212213
TARGET: windows-amd64
@@ -247,4 +248,4 @@ jobs:
247248
if: steps.script.outcome != 'success'
248249
run: |
249250
SLACK_TEXT="${APP_VERSION} ${{ matrix.os_name }} assets failed verification." send_to_slack.sh
250-
251+

0 commit comments

Comments
 (0)