Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed Oct 22, 2024
1 parent 9a34ff8 commit ba9d9d4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
hashes: ${{ steps.hash.outputs.hashes }}
version: ${{ steps.version.outputs.version }}
version: ${{ steps.gettag.outputs.version }}
name: "build"
steps:
- name: Install packages
Expand All @@ -26,22 +26,22 @@ jobs:
version: 1.0
- name: Checkout c-ares
uses: actions/checkout@v4
- name: "build c-ares tarball"
run: |
autoreconf -fi
./configure
make dist
- name: Get Tag version
id: version
id: gettag
run: |
version=${GITHUB_REF#refs/tags/v}
version=`echo ${GITHUB_REF} | sed -e 's|^refs/tags/v\(.*\)|\1|'`
echo version=$version
if [ "$version" = "" ] ; then
version="prerelease"
echo "is prerelease"
fi
echo "version=${version}"
echo "version=${version}" >> $GITHUB_ENV
- name: "build c-ares tarball"
run: |
autoreconf -fi
./configure
make dist
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit ba9d9d4

Please sign in to comment.