Skip to content

Commit

Permalink
ci: remove version at artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
honnip committed Feb 17, 2023
1 parent 1053902 commit 535ad0f
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,8 @@ on:
- "[0-9]+.[0-9]+.[0-9]+*"

jobs:
get-version:
runs-on: ubuntu-22.04
outputs:
version: ${{ env.VERSION }}
steps:
- name: Get the version
shell: bash
if: env.VERSION == ''
run: |
echo "VERION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
echo "version is ${{ env.VERSION }}"
build:
name: build
needs: ["get-version"]
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -75,7 +63,7 @@ jobs:
- name: Archiving
shell: bash
run: |
stage="popolion-${{ needs.get-version.outputs.version }}-${{ matrix.target }}"
stage="popolion-${{ matrix.target }}"
mkdir -p "$stage"
cp README.md "$stage"
Expand Down

0 comments on commit 535ad0f

Please sign in to comment.