Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5 from twinklehawk/fix-publishing
Browse files Browse the repository at this point in the history
Fix publishing
  • Loading branch information
twinklehawk authored Feb 7, 2020
2 parents 48264a8 + 8eef25f commit 42d6b19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: master build
name: release
on:
release:
types: [published]
Expand All @@ -22,5 +22,6 @@ jobs:
run: ./gradlew build
- name: Publish
env:
REPO_USERNAME: adHawk
REPO_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew publish
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repositories {
}

group = 'com.tryadhawk'
version = '1.0.0'
version = '1.0.1'

description = """com.tryadhawk airtable"""

Expand Down Expand Up @@ -109,7 +109,7 @@ publishing {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/adhawk/airtable-java")
credentials {
username = System.getenv("GITHUB_ACTOR")
username = System.getenv("REPO_USERNAME")
password = System.getenv("REPO_PASSWORD")
}
}
Expand Down

0 comments on commit 42d6b19

Please sign in to comment.