Skip to content
Merged
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 @@ -15,21 +15,29 @@ jobs:
version: ${{ steps.capture.outputs.version }}
branch: ${{ steps.extract_branch.outputs.branch }}
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'
commit-message: 'chore: version bump to {{version}}'
- uses: actions/setup-node@v7
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 @@ -59,16 +67,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
with:
node-version-file: ./actions/golive-send-environment-info/.node-version
Expand All @@ -93,16 +104,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
with:
node-version-file: ./actions/golive-send-release-info/.node-version
Expand Down