A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use a prebuilt action to get the version from package.json

+4 -8
+4 -8
.github/workflows/native-build.yml
··· 17 17 - uses: cachix/install-nix-action@v13 18 18 with: 19 19 nix_path: nixpkgs=channel:nixos-unstable 20 - # - uses: actions/setup-haskell@v1.1 21 - # with: 22 - # enable-stack: true 23 - # stack-version: latest 24 20 25 21 # Tasks 26 22 - run: nix-shell --run "just install-deps" ··· 63 59 files: ./build 64 60 outPath: compressed/diffuse-web.tar.gz 65 61 66 - # Get Diffuse's version number 67 - - run: echo ::set-env name=PACKAGE_VERSION::$(node -p "require('./package.json').version") 62 + # Get Diffuse's version number 63 + - uses: martinbeentjes/npm-get-version-action@v1.1.0 68 64 69 65 # Create release 70 66 - uses: actions/create-release@v1.1.2 ··· 72 68 env: 73 69 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 74 70 with: 75 - tag_name: "${{ env.PACKAGE_VERSION }}" 76 - release_name: "v${{ env.PACKAGE_VERSION }}" 71 + tag_name: "${{ steps.package-version.outputs.current-version}}" 72 + release_name: "v${{ steps.package-version.outputs.current-version}}" 77 73 body: "See the assets to download this version and install." 78 74 draft: true 79 75 prerelease: true