diff --git a/.github/workflows/ch1_condition_1.yml b/.github/workflows/ch1_condition_1.yml index 6bf12f2..e9e5c72 100644 --- a/.github/workflows/ch1_condition_1.yml +++ b/.github/workflows/ch1_condition_1.yml @@ -3,14 +3,14 @@ on: workflow_dispatch jobs: build: - if: github.repository == 'jihyungSong/github-action-course' + if: github.repository == 'ParkJaeyun94/github-action-course' runs-on: ubuntu-latest steps: - name: Step 1 run: | echo "Run Step 1, Say Hello" - name: Step 2 - if: github.event_name == 'xxxxxxx' + if: github.event_name == 'workflow_dispatch' run: | echo "Run Step 2, Say Hello" diff --git a/.github/workflows/ch4_google_cloud_credential_oidc.yml b/.github/workflows/ch4_google_cloud_credential_oidc.yml index 6f2d8c2..864b56d 100644 --- a/.github/workflows/ch4_google_cloud_credential_oidc.yml +++ b/.github/workflows/ch4_google_cloud_credential_oidc.yml @@ -23,7 +23,7 @@ uses: google-github-actions/upload-cloud-storage@v1 with: path: ./build.txt - destination: githubaction-test-01/ + destination: githubaction-test-001/ process_gcloudignore: false - name: Notice when a build finishes if: always() diff --git a/.github/workflows/ch4_google_cloud_credential_service_account.yml b/.github/workflows/ch4_google_cloud_credential_service_account.yml index 31876f7..d968c8c 100644 --- a/.github/workflows/ch4_google_cloud_credential_service_account.yml +++ b/.github/workflows/ch4_google_cloud_credential_service_account.yml @@ -22,7 +22,7 @@ uses: google-github-actions/upload-cloud-storage@v1 with: path: ./build.txt - destination: githubaction-test-01/ + destination: githubaction-test-001/ process_gcloudignore: false - name: Notice when a build finishes if: always() diff --git a/.github/workflows/ch5_go_build.yaml b/.github/workflows/ch5_go_build.yaml index 62f86cb..9d8cc26 100644 --- a/.github/workflows/ch5_go_build.yaml +++ b/.github/workflows/ch5_go_build.yaml @@ -19,6 +19,7 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} + architecture: amd64 - name: Check linting run: | go fmt ./... @@ -32,7 +33,7 @@ jobs: - name: Setup AWS Credentials uses: aws-actions/configure-aws-credentials@v1 with: - aws-region: us-east-1 + aws-region: ap-northeast-2 role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }} role-duration-seconds: 3600 - name: make s3 folders each platform diff --git a/.github/workflows/ch5_java_gradle.yaml b/.github/workflows/ch5_java_gradle.yaml index ab5ac51..86a53de 100644 --- a/.github/workflows/ch5_java_gradle.yaml +++ b/.github/workflows/ch5_java_gradle.yaml @@ -21,7 +21,7 @@ jobs: - name: Build with Gradle run: ./gradlew build - name: Archive build artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: java-build-artifacts path: app/build/libs @@ -34,7 +34,7 @@ jobs: id-token: write steps: - name: Download build artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: java-build-artifacts - name: Setup AWS Credentials diff --git a/.github/workflows/ch5_js_build.yaml b/.github/workflows/ch5_js_build.yaml index 64f8359..76e4d45 100644 --- a/.github/workflows/ch5_js_build.yaml +++ b/.github/workflows/ch5_js_build.yaml @@ -15,7 +15,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: '18.x' - registry-url: 'https://registry.npmjs.org/' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm install - name: Publish diff --git a/.github/workflows/ch9_my_action.yaml b/.github/workflows/ch9_my_action.yaml index 2f7a5c2..8abaee5 100644 --- a/.github/workflows/ch9_my_action.yaml +++ b/.github/workflows/ch9_my_action.yaml @@ -7,7 +7,7 @@ jobs: steps: - name: Humancat action id: generate-humancat - uses: jihyungSong/humancat@v1.0 + uses: ParkJaeyun94/humancat@v1.0 with: human-name: 'Ryan Song' cat-name: 'Haku' diff --git a/README.md b/README.md index 55e05b5..f4d8da1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # github-action-course -This is Test +This is Test2 diff --git a/build_sample/container_build/pip_requirements.txt b/build_sample/container_build/pip_requirements.txt index cdab60c..78e13de 100644 --- a/build_sample/container_build/pip_requirements.txt +++ b/build_sample/container_build/pip_requirements.txt @@ -1,3 +1,3 @@ fastapi uvicorn -humancat \ No newline at end of file +humancat2 \ No newline at end of file diff --git a/build_sample/js/humancat/package.json b/build_sample/js/humancat/package.json index 28bfcfe..a843171 100644 --- a/build_sample/js/humancat/package.json +++ b/build_sample/js/humancat/package.json @@ -1,5 +1,5 @@ { - "name": "humancat", + "name": "humancat2", "version": "0.0.8", "description": "GitHub Action Build Sample", "scripts": { @@ -7,17 +7,17 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/jihyungSong/github-action-course.git" + "url": "git+https://github.com/ParkJaeyun94/github-action-course.git" }, "keywords": [ "human", "cat", "humancat" ], - "author": "jihyungSong", + "author": "ParkJaeyun94", "license": "ISC", "bugs": { - "url": "https://github.com/jihyungSong/github-action-course/issues" + "url": "https://github.com/ParkJaeyun94/github-action-course/issues" }, - "homepage": "https://github.com/jihyungSong/github-action-course#readme" + "homepage": "https://github.com/ParkJaeyun94/github-action-course#readme" } diff --git a/build_sample/python/setup.py b/build_sample/python/setup.py index bc171c6..eef9eb1 100644 --- a/build_sample/python/setup.py +++ b/build_sample/python/setup.py @@ -1,12 +1,12 @@ from setuptools import setup, find_packages setup( - name='humancat', + name='humancat2', version='0.0.5', description='GitHub Action Build Test Sample', - author='jihyungSong', - author_email='bluese05@gmail.com', - url='https://github.com/jihyungSong/github-action-course', + author='jaeyun', + author_email='imjyp2727@gmail.com', + url='https://github.com/ParkJaeyun94/github-action-course', install_requires=[], packages=find_packages(exclude=[]), keywords=['sample', 'cat', 'human', 'humancat'], diff --git a/cache_sample/package.json b/cache_sample/package.json index 5733a4a..8404aea 100644 --- a/cache_sample/package.json +++ b/cache_sample/package.json @@ -10,7 +10,6 @@ "license": "ISC", "dependencies": { "express": "^4.18.2", - "humancat": "^0.0.7", "react": "^17.0.2", "react-dom": "^17.0.2", "react-scripts": "5.0.0",