Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
acocalypso committed Apr 29, 2024
1 parent 0f31074 commit 65cbdad
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Your existing workflow file with modifications for environment files

name: 'build'

on:
Expand Down Expand Up @@ -43,15 +41,10 @@ jobs:
echo "python3 -m http.server" > Dwarfium/start_server.bat
zip -r Dwarfium.zip Dwarfium
# Set the version number based on the platform
- name: Get version number from package.json
id: get_version
run: |
if [ ${{ matrix.platform }} == 'windows-latest' ]; then
echo "VERSION=$(node -e 'console.log(require("./package.json").version)')" >> $GITHUB_ENV
else
echo "::set-env name=VERSION::$(node -e 'console.log(require(\"./package.json\").version)')"
fi
echo "VERSION=$(node -e 'console.log(require(\"./package.json\").version)')" >> $GITHUB_ENV
- name: Create artifact Dwarfium
if: matrix.platform == 'ubuntu-20.04'
Expand Down

0 comments on commit 65cbdad

Please sign in to comment.