AUR publish actions: Remove checkingout of tag (#42)

This commit is contained in:
Erik Reider 2022-11-15 08:51:08 +01:00 committed by GitHub
parent ffaab52752
commit 546f56f873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,11 +14,6 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
# Checks out the latest tag
- run: |
git stash save "Action stashing changes"
latestTag=$(git describe --abbrev=0 --tags)
git checkout $latestTag
- name: Publish AUR Stable package - name: Publish AUR Stable package
uses: ulises-jeremias/github-actions-aur-publish@v1 uses: ulises-jeremias/github-actions-aur-publish@v1
@ -42,9 +37,6 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
# Checks out the the Master branch
- run: |
git checkout master
- name: Publish AUR -git package - name: Publish AUR -git package
uses: ulises-jeremias/github-actions-aur-publish@v1 uses: ulises-jeremias/github-actions-aur-publish@v1