Skip to content

Commit

Permalink
WIP12
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Oct 23, 2023
1 parent f449eb6 commit c9d6416
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get-version.outputs.version }}
version: ${{ steps.get-build.outputs.name }}
tagname: ${{ steps.get-tagname.outputs.tag }}

steps:
Expand Down Expand Up @@ -78,19 +78,19 @@ jobs:
- name: "Build GAP"
run: dev/ci-build-gap.sh
- name: "Record the GAP build version"
id: get-version
id: get-build
run: |
BUILD=`head -1 cnf/GAP-VERSION-FILE | cut -d ' ' -f3`
echo "steps.get-version.outputs.version = ${BUILD}"
echo "version=${BUILD}" >> $GITHUB_OUTPUT
echo "steps.get-build.outputs.name = ${BUILD}"
echo "name=${BUILD}" >> $GITHUB_OUTPUT
- name: "Make archives"
run: python -u ./dev/releases/make_archives.py

- name: "Test building GAP from the primary release archive"
run: |
mkdir -p test-gap-tarball
pushd test-gap-tarball
tar xvf ../tmp/gap-${{ steps.get-version.outputs.name }}.tar.gz
tar xvf ../tmp/gap-${{ steps.get-build.outputs.name }}.tar.gz
cd gap*
# test building GAP
./configure --prefix=/tmp/gapprefix
Expand All @@ -111,7 +111,7 @@ jobs:
with:
if-no-files-found: error
name: gap
path: tmp/gap-${{ steps.get-version.outputs.name }}.tar.gz
path: tmp/gap-${{ steps.get-build.outputs.name }}.tar.gz
retention-days: 1

# Always upload metadata, and keep longer, since it is much smaller.
Expand Down

0 comments on commit c9d6416

Please sign in to comment.