Skip to content

Commit a4d2881

Browse files
committed
Set env var
1 parent 2e297fe commit a4d2881

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/native-gems.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ on:
66
tags:
77
- "v*"
88

9-
permissions:
10-
contents: read
11-
packages: write
12-
139
jobs:
1410
build:
1511
name: ${{ matrix.platform }}
@@ -66,6 +62,8 @@ jobs:
6662
path: pkg
6763

6864
- name: Configure RubyGems credentials for GitHub Packages
65+
env:
66+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6967
run: |
7068
mkdir -p ~/.gem
7169
printf -- "---\n:github: Bearer %s\n" "$GITHUB_TOKEN" > ~/.gem/credentials

0 commit comments

Comments
 (0)