Skip to content

Commit

Permalink
222222222222
Browse files Browse the repository at this point in the history
  • Loading branch information
junminahn committed Nov 12, 2024
1 parent 1350bdb commit 3a57bb1
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/close-action.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: Close Action

on: workflow_dispatch
on: push

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
tag-changelog:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@main

- name: sleep
run: |
sleep 120
sleep 123
25 changes: 25 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Main

on:
push:
tags:
- 'v*.*.*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
mkdir -p myfolder
echo ${{ github.sha }} > myfolder/Release.txt
echo "release" > myfolder/Release2.txt
tar -czvf myfolder.tar.gz -C myfolder .
- name: Release
uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87
if: startsWith(github.ref, 'refs/tags/')
with:
files: myfolder.tar.gz
23 changes: 23 additions & 0 deletions .github/workflows/tag-environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tag Environment

on:
push:
tags:
- 'v*.*.*'

jobs:
set-tag:
runs-on: ubuntu-latest
outputs:
image_tag: ${{ steps.set-image-tag.outputs.image_tag }}
steps:
- name: Set IMAGE_TAG
id: set-image-tag
run: echo "::set-output name=image_tag::${GITHUB_REF_NAME#v}"

build:
needs: set-tag
runs-on: ubuntu-latest
steps:
- name: Display IMAGE_TAG
run: echo "IMAGE_TAG is ${{ needs.set-tag.outputs.image_tag }}"
3 changes: 3 additions & 0 deletions client.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ module "client_Joe" {
valid_redirect_uris = [
"https://example.com",
"https://example22.com",
"https://example77.com",
"https://example55.com",
"https://example66.com",
]
}

0 comments on commit 3a57bb1

Please sign in to comment.