Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Coolkids committed Jun 13, 2024
1 parent e89d41d commit ad3decd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/x86-imq-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run: |
git config --global user.email "github-actions@github.com"
git config --global user.name "github-actions"
echo "VERSION=v$(date +'%y.%m')" >> $GITHUB_ENV
echo "VERSION=$(date +'%y.%m')" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -31,17 +31,18 @@ jobs:
- name: delete tag
uses: dev-drprasad/delete-tag-and-release@v1.0
with:
tag_name: ${{ env.VERSION }}
tag_name: v${{ env.VERSION }}
github_token: ${{ secrets.PUSH_TOKEN }}
delete_release: true

- name: Tag release
uses: mathieudutour/github-tag-action@v6.2
id: tag_version
with:
github_token: ${{ secrets.PUSH_TOKEN }}
release_branches: master
custom_tag: ${{ env.VERSION }}

- name: Push Msg
run: |
sh .github/push.sh ${{ secrets.CORPID }} ${{ secrets.CORPSECRET }} ${{ secrets.AGENTID }} "x86_64" "Merge dev into master ${{ env.VERSION }}"
sh .github/push.sh ${{ secrets.CORPID }} ${{ secrets.CORPSECRET }} ${{ secrets.AGENTID }} "x86_64" "Merge dev into master ${{ steps.tag_version.outputs.new_tag }}"

0 comments on commit ad3decd

Please sign in to comment.