mirror of
https://github.com/go-i2p/go-gitlooseleaf.git
synced 2026-01-11 18:21:41 -05:00
try and build forgejo with the mod too
This commit is contained in:
14
.github/workflows/forgejo-build.yml
vendored
14
.github/workflows/forgejo-build.yml
vendored
@@ -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
|
||||
|
||||
|
||||
2
.github/workflows/forgejo-nightly.yml
vendored
2
.github/workflows/forgejo-nightly.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user