Skip to content

Commit

Permalink
Merge pull request #103 from zowe/users/jstruga/update-v3
Browse files Browse the repository at this point in the history
update v3 with new actions
  • Loading branch information
1000TurquoisePogs authored Jan 18, 2024
2 parents 769561a + 31422b8 commit a8a1e5b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build sample-react-app workflow
on:
push:
branches:
- v2.x/staging
- v2.x/rc
- v2.x/master
- v3.x/staging
- v3.x/rc
- v3.x/master
pull_request:
types: [opened, reopened, synchronize]

Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
JF_ARTIFACTORY_1: ${{ secrets.JF_ARTIFACTORY_TOKEN }}

- name: '[Prep 5] prepare workflow'
uses: zowe-actions/zlux-builds/plugins/prepare-workflow@v2.x/main
uses: zowe-actions/zlux-builds/plugins/prepare-workflow@v3.x/main
with:
github-user: ${{ secrets.ZOWE_ROBOT_USER }}
github-password: ${{ secrets.ZOWE_ROBOT_TOKEN }}
Expand All @@ -157,29 +157,29 @@ jobs:
plugin-version: ${{ github.event.inputs.BUILD_VERSION }}

- name: '[Prep 6] build'
uses: zowe-actions/zlux-builds/plugins/zlux-plugins@v2.x/main
uses: zowe-actions/zlux-builds/plugins/zlux-plugins@v3.x/main
with:
build-zss: false

- name: '[Prep 7] packaging'
uses: zowe-actions/zlux-builds/plugins/make-pax@v2.x/main
uses: zowe-actions/zlux-builds/plugins/make-pax@v3.x/main
with:
pax-ssh-username: ${{ secrets.SSH_MARIST_USERNAME }}
pax-ssh-password: ${{ secrets.SSH_MARIST_RACF_PASSWORD }}
pax-name: sample-react-app

- name: '[Prep 8] deploy '
uses: zowe-actions/zlux-builds/plugins/deploy-pax@v2.x/main
uses: zowe-actions/zlux-builds/plugins/deploy-pax@v3.x/main

- name: '[Prep 9] Bump Staging Version '
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }}
uses: zowe-actions/zlux-builds/plugins/bump-version@v2.x/main
uses: zowe-actions/zlux-builds/plugins/bump-version@v3.x/main
env:
GITHUB_TOKEN: ${{ secrets.ZOWE_ROBOT_TOKEN }}

- name: '[Prep 10] NodeJS project setup'
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }}
uses: zowe-actions/zlux-builds/plugins/npm-setup@v2.x/main
uses: zowe-actions/zlux-builds/plugins/npm-setup@v3.x/main
with:
package-name: 'org.zowe.zlux-iframe-file-tree'
install-registry-url: ${{ env.DEFAULT_NPM_PRIVATE_INSTALL_REGISTRY }}
Expand All @@ -192,4 +192,4 @@ jobs:

- name: '[Prep 11] Publish NPM Package '
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }}
uses: zowe-actions/zlux-builds/plugins/npm-publish@v2.x/main
uses: zowe-actions/zlux-builds/plugins/npm-publish@v3.x/main
2 changes: 1 addition & 1 deletion build/component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-sample",
"version": "2.11.0",
"version": "3.0.0",
"description": "Sample app Showcasing React Adapter",
"main": "react-sample.pax",
"homepgae": "https://zowe.org",
Expand Down
2 changes: 1 addition & 1 deletion manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: react-sample
id: org.zowe.zlux.sample.react
# Without the v
version: 2.13.0
version: 3.0.0
# Human readable component name
title: React Sample
# Human readable component description
Expand Down
2 changes: 1 addition & 1 deletion pluginDefinition.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"identifier": "org.zowe.zlux.sample.react",
"apiVersion": "2.0.0",
"pluginVersion": "2.13.0",
"pluginVersion": "3.0.0",
"pluginType": "application",
"license": "EPL-2.0",
"author": "Zowe",
Expand Down
2 changes: 1 addition & 1 deletion webClient/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "org.zowe.zlux.sample.react",
"version": "2.11.0",
"version": "3.0.0",
"description": "A sample react showcasing react framework in Zowe App Framework",
"license": "EPL-2.0",
"dependencies": {
Expand Down

0 comments on commit a8a1e5b

Please sign in to comment.