adap 0.1.8 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +8 -6
- data/.github/workflows/ruby.yml +0 -8
- data/lib/adap/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63f5d0cc91cadfe37b62c84602420c11adb34b8e80f3f60ff51a767e75621788
|
4
|
+
data.tar.gz: 9780fc3c0145805bcb042d5c4df8018b6d8df5ab824b1fd1c5a74e5103934627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0fa71f2e0ba6edc95c710ee05e242f4eb1af904dcfa5a5157bd58afa57c0f4ce3afe7a76a408afbd0e0b33f2d559204f7b1215015f7e26517e92b089cd2610a
|
7
|
+
data.tar.gz: dd285ad4b31c0c4d730d200ac98e0b419ba65ace520218f99945e70df50a2841c498a5074a28537d11e5ae034eaf33a4b728c25629be562a06396c76efab3634
|
@@ -1,6 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
name: Ruby
|
1
|
+
name: Release
|
4
2
|
|
5
3
|
on:
|
6
4
|
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab or GitHub CLI(gh workflow run)
|
@@ -10,7 +8,7 @@ on:
|
|
10
8
|
required: true
|
11
9
|
|
12
10
|
permissions:
|
13
|
-
contents:
|
11
|
+
contents: write
|
14
12
|
|
15
13
|
jobs:
|
16
14
|
release:
|
@@ -22,7 +20,7 @@ jobs:
|
|
22
20
|
runs-on: ${{ matrix.os }}
|
23
21
|
env:
|
24
22
|
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
25
|
-
GEM_HOST_OTP_CODE: ${{
|
23
|
+
GEM_HOST_OTP_CODE: ${{ inputs.otp }}
|
26
24
|
steps:
|
27
25
|
- name: Check out ${{ github.event.repository.owner.name }}/${{ github.event.repository.name }}
|
28
26
|
uses: actions/checkout@v4
|
@@ -35,6 +33,11 @@ jobs:
|
|
35
33
|
ruby-version: ${{ matrix.ruby }}
|
36
34
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
37
35
|
|
36
|
+
- name: Configure Git to be able to push git tag to GitHub
|
37
|
+
run: |
|
38
|
+
git config --global user.name "${GITHUB_ACTOR}"
|
39
|
+
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
|
40
|
+
|
38
41
|
- name: Run tests
|
39
42
|
run: |
|
40
43
|
cd ${GITHUB_WORKSPACE}/${{ github.event.repository.name }}
|
@@ -42,7 +45,6 @@ jobs:
|
|
42
45
|
bundle exec rake
|
43
46
|
|
44
47
|
- name: Push to rubygems.org
|
45
|
-
if: startsWith(github.ref, 'refs/tags/v')
|
46
48
|
run: |
|
47
49
|
echo "Pushing to rubygems.org. You need update the version in lib/adap/version.rb before pushing it."
|
48
50
|
echo "Detected version is \"$(grep VERSION lib/adap/version.rb)\""
|
data/.github/workflows/ruby.yml
CHANGED
@@ -59,11 +59,3 @@ jobs:
|
|
59
59
|
bundle install --retry 3
|
60
60
|
bundle exec rake
|
61
61
|
|
62
|
-
- name: Push to rubygems.org
|
63
|
-
if: startsWith(github.ref, 'refs/tags/v')
|
64
|
-
run: |
|
65
|
-
echo "Pushing to rubygems.org. You need update the version in lib/adap/version.rb before pushing it."
|
66
|
-
echo "Detected version is \"$(grep VERSION lib/adap/version.rb)\""
|
67
|
-
cd ${GITHUB_WORKSPACE}/${{ github.event.repository.name }}
|
68
|
-
bundle exec rake release
|
69
|
-
|
data/lib/adap/version.rb
CHANGED