Use native git checkout and streamline tests in Gitea workflows
This commit is contained in:
1 parent
2bdb8c67da
commit
916cad2d8d
2 files changed
+12
-10
No files matched your search
@@ -17,7 +17,12 @@ jobs:
|
||||
image: composer:2
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Checkout
|
||||
run: |
|
||||
git init .
|
||||
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@$(echo "${{ github.server_url }}" | sed -E 's|https?://||')/${{ github.repository }}.git"
|
||||
git fetch --depth 1 origin "${{ github.ref }}"
|
||||
git checkout FETCH_HEAD
|
||||
|
||||
- name: Build release zip
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user