Skip to content

Commit f8f28c5

Browse files
committed
Fix misc workflow problems
1 parent 2139de3 commit f8f28c5

File tree

9 files changed

+25
-25
lines changed

9 files changed

+25
-25
lines changed

.github/workflows/release-github.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create GitHub Release
1+
name: Release GitHub
22

33
on:
44
push:
@@ -13,6 +13,6 @@ jobs:
1313
contents: write
1414
steps:
1515
- uses: actions/checkout@v2
16-
- uses: cucumber/actions[email protected]
16+
- uses: cucumber/action[email protected]
1717
with:
1818
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Go module
1+
name: Release Go
22

33
on:
44
push:
@@ -9,7 +9,7 @@ jobs:
99
name: Create go/* tag
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: cucumber-actions/versions@1.1.0
12+
- uses: cucumber/action-get-versions@1.0.0
1313
id: versions
1414
- name: Create go/* tag
1515
run: |

.github/workflows/release-mvn.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Maven Package
1+
name: Release Maven
22

33
on:
44
push:
@@ -21,4 +21,4 @@ jobs:
2121
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
2222
nexus-username: cukebot
2323
nexus-password: ${{ secrets.SONATYPE_PASSWORD }}
24-
directory: java
24+
working-directory: java

.github/workflows/release-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release NPM module
1+
name: Release NPM
22

33
on:
44
push:
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
node-version: '16'
1717
cache: 'npm'
18-
cache-dependency-path: javascript/ui/package-lock.json
18+
cache-dependency-path: javascript/package-lock.json
1919
- uses: cucumber/[email protected]
2020
with:
2121
npm-token: ${{ secrets.NPM_TOKEN }}

.github/workflows/release-rubygem.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Ruby Gem
1+
name: Release RubyGems
22

33
on:
44
push:
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v2
1414
- uses: ruby/setup-ruby@v1
1515
with:
16-
ruby-version: 3.0.2
16+
ruby-version: '3.0.2'
1717
bundler-cache: true
1818
- uses: cucumber/[email protected]
1919
with:

.github/workflows/test-go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types:
77
- merged
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
test:
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
os:
1818
- ubuntu-latest
19-
go: [1.13.x, 1.17.x]
19+
go: ['1.13.x', '1.17.x']
2020
include:
2121
- os: windows-latest
2222
go: '1.17.x'
@@ -30,8 +30,8 @@ jobs:
3030
with:
3131
go-version: ${{ matrix.go }}
3232
- name: lint
33-
working-directory: ./go
33+
working-directory: go
3434
run: gofmt -w .
3535
- name: test
36-
working-directory: ./go
36+
working-directory: go
3737
run: go test ./...

.github/workflows/test-java.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types:
77
- merged
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
test:
@@ -36,11 +36,11 @@ jobs:
3636
with:
3737
version: ${{ matrix.java }}
3838
- name: mvn install
39-
working-directory: ./java
39+
working-directory: java
4040
run: mvn install
4141
- name: mvn test
42-
working-directory: ./java
42+
working-directory: java
4343
run: mvn test
4444
- name: check jar
45-
working-directory: ./java
45+
working-directory: java
4646
run: ./scripts/check-jar.sh

.github/workflows/test-javascript.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types:
77
- merged
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
test:
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
cache: 'npm'
33-
cache-dependency-path: ./javascript/package-lock.json
33+
cache-dependency-path: javascript/package-lock.json
3434
- run: npm i -g npm@7
3535
- run: npm install-test
36-
working-directory: ./javascript
36+
working-directory: javascript

.github/workflows/test-ruby.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types:
77
- merged
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
test:
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
os:
1818
- ubuntu-latest
19-
ruby: [2.5, 2.6, 2.7, '3.0']
19+
ruby: ['2.5', '2.6', '2.7', '3.0']
2020
include:
2121
- os: windows-latest
2222
ruby: '3.0'
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
ruby-version: ${{ matrix.ruby }}
3232
bundler-cache: true
33-
working-directory: ./ruby
33+
working-directory: ruby
3434
- name: bundle exec rspec
35-
working-directory: ./ruby
35+
working-directory: ruby
3636
run: bundle exec rspec

0 commit comments

Comments
 (0)