@@ -17,10 +17,10 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://github.com/actions/checkout@v2
|
||||
- name: Verify commit exists in origin/main
|
||||
- name: Verify commit exists in origin/master
|
||||
run: |
|
||||
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
|
||||
git branch --remote --contains | grep origin/main
|
||||
git branch --remote --contains | grep origin/master
|
||||
#- name: Set VERSION variable from tag
|
||||
# run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
|
||||
- name: Build
|
||||
|
||||
Reference in New Issue
Block a user