try and build forgejo with the mod too

This commit is contained in:
eyedeekay
2025-05-08 16:18:31 -04:00
parent 4f9dcde18a
commit 7c354f9b52
2 changed files with 6 additions and 10 deletions

View File

@@ -19,14 +19,10 @@ jobs:
steps:
- name: Get Latest Forgejo Tag
id: get_latest_tag
uses: actions/github-script@v7
with:
script: |
const response = await github.rest.repos.getLatestRelease({
owner: 'forgejo',
repo: 'forgejo'
});
core.setOutput('tag', response.data.tag_name);
run: |
LATEST_TAG=$(curl -s 'https://codeberg.org/api/v1/repos/forgejo/forgejo/releases?limit=1' | jq -r '.[0].tag_name')
echo "tag=$LATEST_TAG" >> $GITHUB_OUTPUT
echo "Latest Forgejo tag: $LATEST_TAG"
- name: Check Existing Release
id: check_existing
@@ -67,7 +63,7 @@ jobs:
- name: Checkout Forgejo Source
uses: actions/checkout@v4
with:
repository: forgejo/forgejo
repository: https://codeberg.org/forgejo/forgejo
ref: ${{ needs.check-release.outputs.new_tag }}
path: forgejo-source

View File

@@ -29,7 +29,7 @@ jobs:
- name: Checkout Forgejo Source
uses: actions/checkout@v4
with:
repository: forgejo/forgejo
repository: https://codeberg.org/forgejo/forgejo
ref: main # Always use the latest main branch
path: forgejo-source