Skip to content

Commit

Permalink
Feature/814 GitHub publish manual trigger (#843)
Browse files Browse the repository at this point in the history
* add workflow-dispatch

* use actions/checkout@3 and use with ref main
  • Loading branch information
danoswaltCL authored May 9, 2023
1 parent bf70388 commit 8405828
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: Auto Merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
github-token: ${{ secrets.REPO_PAT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/backend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
node-version: ${{ steps.get-node-version.outputs.node-version }}
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Load Environment Variables
uses: tw3lveparsecs/[email protected]
- name: Get Node Version
Expand All @@ -34,7 +34,7 @@ jobs:
--health-retries 5
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install Dependencies
run: |
cd ..
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backend-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
version: ${{ steps.get-dev-version.outputs.version }}
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get Dev Version
id: get-dev-version
uses: ./.github/actions/get-dev-version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backend-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
# Otherwise, build the artifact
- name: Git Checkout
if: steps.check-tag.outputs.exists == 'false'
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Load Environment Variables
if: steps.check-tag.outputs.exists == 'false'
uses: tw3lveparsecs/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump-dev-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out source
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clientlibs-java-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Maven Build
working-directory: clientlibs/java
run: mvn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clientlibs-js-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build Client Libs JS
uses: ./.github/actions/generic-npm-build
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/clientlibs-js-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: 'main'
- name: Build Types Package
uses: ./.github/actions/generic-npm-build
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
version: ${{ steps.get-version.outputs.result }}
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 16
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 16
Expand All @@ -110,7 +110,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 16
Expand All @@ -135,7 +135,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 16
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Frontend Build
uses: ./.github/actions/generic-npm-build
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
version: ${{ steps.get-dev-version.outputs.version }}
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get Dev Version
id: get-dev-version
uses: ./.github/actions/get-dev-version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
# Otherwise, build it
- name: Git Checkout
if: steps.check-tag.outputs.exists == 'false'
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Frontend Build
if: steps.check-tag.outputs.exists == 'false'
uses: ./.github/actions/generic-npm-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lambda-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
version: ${{ steps.get-dev-version.outputs.version }}
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get Dev Version
id: get-dev-version
uses: ./.github/actions/get-dev-version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lambda-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
# Otherwise, build the artifact
- name: Git Checkout
if: steps.check-tag.outputs.exists == 'false'
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build Lambda
if: steps.check-tag.outputs.exists == 'false'
uses: ./.github/actions/generic-npm-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lamdba-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build Lambda
uses: ./.github/actions/generic-npm-build
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge-dev-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Merge dev into main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/types-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build Types
uses: ./.github/actions/generic-npm-build
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/types-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: 'main'
- name: Build Types Package
uses: ./.github/actions/generic-npm-build
with:
Expand Down

0 comments on commit 8405828

Please sign in to comment.