Skip to content

Commit

Permalink
chore: action
Browse files Browse the repository at this point in the history
  • Loading branch information
funnyzak committed Oct 11, 2022
1 parent eaeb892 commit 5f6267c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Archive Release
uses: papeloto/action-zip@v1
with:
files: |
./
recursive: false
dest: ${{ env.DIST_ARCHIVE_NAME }}-${{ steps.get_version.outputs.VERSION }}.zip
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand All @@ -55,9 +65,6 @@ jobs:
- name: Install dependencies
run: |
npm install
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Build changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v2.9.0
Expand All @@ -66,13 +73,6 @@ jobs:
with:
configuration: '.github/config/changelog_configuration.json'
ignorePreReleases: 'false'
- name: Archive Release
uses: papeloto/action-zip@v1
with:
files: |
./
recursive: false
dest: ${{ env.DIST_ARCHIVE_NAME }}-${{ steps.get_version.outputs.VERSION }}.zip
- name: Create Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 5f6267c

Please sign in to comment.