Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 24 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,21 @@ jobs:
outputs:
version: ${{ steps.capture.outputs.version }}
steps:
- name: Get Github App Token
uses: actions/create-github-app-token@v3
id: app-token
with:
client-id: ${{ vars.GH_APP_CLIENT_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v7
with:
token: ${{ steps.app-token.outputs.token }}
- name: Bump
if: success()
uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
with:
major-wording: 'BREAKING'
default: 'minor'
Expand All @@ -30,7 +38,7 @@ jobs:
NODE_OPTIONS: --openssl-legacy-provider
with:
node-version-file: .node-version
cache: 'npm'
package-manager-cache: false
registry-url: 'https://registry.npmjs.org'
- name: Install & Build
# npm run test
Expand Down Expand Up @@ -60,16 +68,19 @@ jobs:
working-directory: 'actions/golive-send-environment-info'
runs-on: ubuntu-latest
steps:
- name: Get Github App Token
uses: actions/create-github-app-token@v3
id: app-token
with:
client-id: ${{ vars.GH_APP_CLIENT_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- uses: actions/checkout@v7
name: checkout golive-send-environment-info
with:
repository: apwide/golive-send-environment-info
ref: ${{ needs.bump-and-publish.outputs.branch }}
path: ./actions/golive-send-environment-info
token: ${{secrets.CI_GITHUB_TOKEN}}
- run: |
git config --global user.name 'Apwide CI'
git config --global user.email 'ci@apwide.com'
token: ${{ steps.app-token.outputs.token }}
- uses: actions/setup-node@v7
env:
NODE_OPTIONS: --openssl-legacy-provider
Expand All @@ -96,16 +107,19 @@ jobs:
working-directory: 'actions/golive-send-release-info'
runs-on: ubuntu-latest
steps:
- name: Get Github App Token
uses: actions/create-github-app-token@v3
id: app-token
with:
client-id: ${{ vars.GH_APP_CLIENT_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- uses: actions/checkout@v7
name: checkout golive-send-release-info
with:
repository: apwide/golive-send-release-info
ref: ${{ needs.bump-and-publish.outputs.branch }}
path: ./actions/golive-send-release-info
token: ${{secrets.CI_GITHUB_TOKEN}}
- run: |
git config --global user.name 'Apwide CI'
git config --global user.email 'ci@apwide.com'
token: ${{ steps.app-token.outputs.token }}
- uses: actions/setup-node@v7
env:
NODE_OPTIONS: --openssl-legacy-provider
Expand Down