Skip to content

Commit

Permalink
💚 ci: misssing checkout in release action (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
aksiome committed Jan 24, 2025
1 parent 6c5d6e5 commit fdcad35
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
ref: ${{ github.ref }}
- uses: fregante/setup-git-user@v2
- uses: pdm-project/setup-pdm@v4
@@ -41,6 +40,9 @@ jobs:
release_name: ${{ steps.check-versions.outputs.release_name }}
version_exists: ${{ steps.check-versions.outputs.version_exists }}
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
- name: Check Versions
id: check-versions
run: |
@@ -56,13 +58,19 @@ jobs:
else
echo "version_exists=false" >> $GITHUB_OUTPUT
fi
- name: Debug Outputs
run: |
echo "release_tag=${{ steps.check-versions.outputs.release_tag }}"
echo "release_name=${{ steps.check-versions.outputs.release_name }}"
echo "version_exists=${{ steps.check-versions.outputs.version_exists }}"
create-release:
name: 📦 Create Release
needs: check-versions
runs-on: ubuntu-latest
if: ${{ needs.check-versions.outputs.version_exists == 'false' }}
steps:
- uses: actions/checkout@v4
- uses: fregante/setup-git-user@v2
- uses: pdm-project/setup-pdm@v4
with:
3 changes: 3 additions & 0 deletions meta/manifest.json
Original file line number Diff line number Diff line change
@@ -3305,6 +3305,9 @@
"authors": [
"Aksiome"
],
"contributors": [
"runoshun"
],
"created": {
"date": "2023/08/18",
"minecraft_version": "23w32a"

0 comments on commit fdcad35

Please sign in to comment.