fetch before publishing release
This commit is contained in:
5
.github/workflows/download-latest.yml
vendored
5
.github/workflows/download-latest.yml
vendored
@@ -108,6 +108,11 @@ jobs:
|
||||
echo "COMMIT_ID=${{ needs.commit-data.outputs.COMMIT_ID }}" | tee -a "$GITHUB_ENV"
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: fetch latest
|
||||
run: |
|
||||
git fetch
|
||||
git checkout "$DETERMINATE_VERSION"
|
||||
git pull
|
||||
- name: Publish release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
env:
|
||||
|
Reference in New Issue
Block a user