Update GitHub actions workflow to target v3.0.4
The GitHub actions workflow has been updated to target the version branch v3.0.4. The necessary checks and commands have been modified accordingly to ensure proper compatibility with the new branch. This update is necessary for the correct functioning of the automatic deployment activities.
This commit is contained in:
parent
a1b7afdf4f
commit
792c06ee04
6
.github/workflows/packages.yml
vendored
6
.github/workflows/packages.yml
vendored
|
|
@ -3,7 +3,7 @@ on:
|
|||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- v3.0.3
|
||||
- v3.0.4
|
||||
release:
|
||||
types: [ prereleased, published ]
|
||||
env:
|
||||
|
|
@ -18,10 +18,10 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Verify commit exists in origin/v3.0.3
|
||||
- name: Verify commit exists in origin/v3.0.4
|
||||
run: |
|
||||
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
|
||||
git branch --remote --contains | grep origin/v3.0.3
|
||||
git branch --remote --contains | grep origin/v3.0.4
|
||||
- name: Set VERSION variable
|
||||
run: |
|
||||
if [[ "${{ github.ref }}" == refs/tags/* && "${{ github.event_name }}" == "release" && "${{ github.event.action }}" == "published" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue