Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cc527a2

Browse files
committedFeb 25, 2024
cleanup
1 parent 322d437 commit cc527a2

File tree

5 files changed

+23
-18
lines changed

5 files changed

+23
-18
lines changed
 

‎.github/workflows/publish.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,21 @@ jobs:
77
build:
88
runs-on: ubuntu-latest
99
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v3
12+
13+
- name: Setup JDK
14+
uses: actions/setup-java@v3
15+
with:
16+
distribution: 'temurin'
17+
java-version: '21'
18+
19+
- name: Setup OS
20+
run: |
21+
sudo apt-get update && sudo apt-get install -y gnupg2 expect
22+
1023
- name: Test
11-
uses: ./.github/test
24+
run: ./gradlew test
1225

1326
- name: Publish
1427
env:
File renamed without changes.

‎README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ I'm a fan of the Testing Library because it encourages "testing as a user":
1010
> The more your tests resemble the way your software is used,
1111
> the more confidence they can give you.
1212
13-
1413
Pick
1514
the [library's latest version at Maven Central](https://search.maven.org/artifact/com.luissoares/selenium-testing-library).
1615
Then, copy the declaration for your build tool. E.g.:
@@ -20,7 +19,6 @@ implementation("com.luissoares:selenium-testing-library:3.7.7")
2019
```
2120

2221
---
23-
2422
These are just a few examples. Check [the tests](/lib/src/test/kotlin/seleniumtestinglib)
2523
that [illustrate](https://medium.com/codex/towards-self-documenting-code-371364bdccbb)
2624
all the usages.
@@ -85,5 +83,4 @@ val displayedValue = element.displayValue
8583
```
8684

8785
---
88-
8986
ℹ️ _[Read more](https://medium.com/codex/the-testing-library-meets-selenium-5f74cc712114)._

‎release

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
version="$1"
4+
#sed -i "s/version = .*/version = ""$version""/g" lib/build.gradle.kts
5+
#sed -i "s/com\.luissoares:selenium-testing-library:[0-9]\+\.[0-9]\+\.[0-9]\+/com.luissoares:selenium-testing-library:$version/g" README.md
6+
git tag -l | xargs git tag -d
7+
git push --delete origin "v$version"
8+
git tag "v$version" -m "Tag release"
9+
git push origin "v$version"

‎release.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)