Skip to content

Commit

Permalink
chore: update action
Browse files Browse the repository at this point in the history
chore: update action
  • Loading branch information
DestroyCom committed Sep 4, 2023
2 parents 747834b + e1e1377 commit a63a3ad
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_server_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: prod
fetch-depth: 0
- name: Get Latest Tag
id: latest_tag
uses: WyriHaximus/github-action-get-previous-tag@v1
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build_web_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: prod
fetch-depth: 0
- name: Get Latest Tag
id: latest_tag
uses: WyriHaximus/github-action-get-previous-tag@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
ref: prod
fetch-depth: 0
- name: Get Latest Tag
id: latest_tag
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/create_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
env:
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
with:
ref: prod
fetch-depth: 0
- name: Get last commit message
id: commit_message
run: echo "::set-output name=message::$(git log -1 --pretty=format:'%s')"
- name: Echo env
run: echo ${{ env.COMMIT_MESSAGE }}
run: echo ${{ steps.commit_message.outputs.message }}
- name: Create or update major version
uses: joutvhu/create-tag@v1
with:
tag_name: ${{ env.COMMIT_MESSAGE }}
message: ${{ env.COMMIT_MESSAGE }}
tag_name: ${{ steps.commit_message.outputs.message }}
message: ${{ steps.commit_message.outputs.message }}
on_tag_exists: update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/install_sera.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
ref: prod
fetch-depth: 0

- name: Set env vars
Expand Down

0 comments on commit a63a3ad

Please sign in to comment.