Skip to content

Commit

Permalink
Merge pull request #11 from spinkube/fix-release-workflow
Browse files Browse the repository at this point in the history
Add github token to release workflow
  • Loading branch information
bacongobbler authored Feb 2, 2024
2 parents e77bf53 + fa09d5c commit dc194e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
go-version: "1.21"

- name: Setup Private Git Repo Access
run: |
echo "machine github.com login bacongobbler password ${GITHUB_TOKEN}" > $HOME/.netrc
run: echo "machine github.com login bacongobbler password ${GITHUB_TOKEN}" > $HOME/.netrc
env:
GITHUB_TOKEN: ${{ secrets.SPINKUBE_GITHUB_ACCESS_TOKEN }}

Expand All @@ -46,6 +45,8 @@ jobs:
This is a "canary" release of the most recent commits on our main branch. Canary is **not stable**.
It is only intended for developers wishing to try out the latest features in Spin, some of which may not be fully implemented.
EOF
env:
GH_TOKEN: ${{ github.token }}

- name: Release Plugin
if: github.ref == 'refs/heads/main'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
go-version: "1.21"

- name: Setup Private Git Repo Access
run: |
echo "machine github.com login bacongobbler password ${GITHUB_TOKEN}" > $HOME/.netrc
run: echo "machine github.com login bacongobbler password ${GITHUB_TOKEN}" > $HOME/.netrc
env:
GITHUB_TOKEN: ${{ secrets.SPINKUBE_GITHUB_ACCESS_TOKEN }}

Expand Down

0 comments on commit dc194e6

Please sign in to comment.