mirror of
https://github.com/italicsjenga/actions-test.git
synced 2025-01-10 09:21:40 +11:00
main
This commit is contained in:
parent
ea27bb5ada
commit
6e28436d41
6
.github/workflows/merge.yml
vendored
6
.github/workflows/merge.yml
vendored
|
@ -11,16 +11,16 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: refs/heads/master
|
ref: refs/heads/main
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
fetch-tags: true
|
fetch-tags: true
|
||||||
# fetch-depth: 0
|
# fetch-depth: 0
|
||||||
# - name: stinky but
|
# - name: stinky but
|
||||||
# run: git sparse-checkout disable; git checkout origin/master
|
# run: git sparse-checkout disable; git checkout origin/main
|
||||||
- name: deepen tree
|
- name: deepen tree
|
||||||
run: git -c protocol.version=2 fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
|
run: git -c protocol.version=2 fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
|
||||||
# - name: peepee poopoo
|
# - name: peepee poopoo
|
||||||
# run: git checkout --progress --force -B master refs/remotes/origin/master
|
# run: git checkout --progress --force -B main refs/remotes/origin/main
|
||||||
- name: Get git describe for prerelease
|
- name: Get git describe for prerelease
|
||||||
id: describe
|
id: describe
|
||||||
run: echo "tagname=pre-$(git describe --tags)" >> $GITHUB_OUTPUT
|
run: echo "tagname=pre-$(git describe --tags)" >> $GITHUB_OUTPUT
|
Loading…
Reference in a new issue