Skip to content

Commit

Permalink
Merge pull request #6 from RevoluNix/nightly
Browse files Browse the repository at this point in the history
fix: update youtube-dl
  • Loading branch information
Pikatsuto authored Jul 13, 2024
2 parents c2b99e3 + 9d5d84f commit 44112b2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 58 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/auto_nigthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,31 +58,3 @@ jobs:
files: |
./${{ env.FILE_NAME }}
./package.nix
- name: Clone RevoluNixPKGS
uses: actions/checkout@master
with:
ref: nightly
repository: RevoluNix/revolunixpkgs
token: ${{ secrets.RevoluNixPKGS_TOKEN }}

- name: Update RevoluNixPKGS
id: update_pkgs
run: |
git config --global user.email "${{ github.event.pusher.email }}"
git config --global user.name "${{ github.event.pusher.name }}"
URL="https://github.com/${{ github.repository }}/releases/download/${{ env.TAG_NAME }}/package.nix"
rm -rf ./pkgs/${{ env.PKG_NAME }}
mkdir -p ./pkgs/${{ env.PKG_NAME }}
wget -O ./pkgs/${{ env.PKG_NAME }}/package.nix $URL
git add .
git commit -m "feat: Update/Upload ${{ env.PKG_NAME }} package"
- name: Push RevoluNixPKGS changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.RevoluNixPKGS_TOKEN }}
repository: RevoluNix/revolunixpkgs
branch: nightly
2 changes: 2 additions & 0 deletions .github/workflows/auto_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
- name: Clone RevoluNixPKGS
uses: actions/checkout@master
with:
ref: testing
repository: RevoluNix/revolunixpkgs
token: ${{ secrets.RevoluNixPKGS_TOKEN }}

Expand All @@ -82,3 +83,4 @@ jobs:
with:
github_token: ${{ secrets.RevoluNixPKGS_TOKEN }}
repository: RevoluNix/revolunixpkgs
branch: testing
28 changes: 0 additions & 28 deletions .github/workflows/auto_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,31 +58,3 @@ jobs:
files: |
./${{ env.FILE_NAME }}
./package.nix
- name: Clone RevoluNixPKGS
uses: actions/checkout@master
with:
ref: testing
repository: RevoluNix/revolunixpkgs
token: ${{ secrets.RevoluNixPKGS_TOKEN }}

- name: Update RevoluNixPKGS
id: update_pkgs
run: |
git config --global user.email "${{ github.event.pusher.email }}"
git config --global user.name "${{ github.event.pusher.name }}"
URL="https://github.com/${{ github.repository }}/releases/download/${{ env.TAG_NAME }}/package.nix"
rm -rf ./pkgs/${{ env.PKG_NAME }}
mkdir -p ./pkgs/${{ env.PKG_NAME }}
wget -O ./pkgs/${{ env.PKG_NAME }}/package.nix $URL
git add .
git commit -m "feat: Update/Upload ${{ env.PKG_NAME }} package"
- name: Push RevoluNixPKGS changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.RevoluNixPKGS_TOKEN }}
repository: RevoluNix/revolunixpkgs
branch: testing
4 changes: 2 additions & 2 deletions package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
lib,
makeWrapper,
mpv,
youtube-dl,
youtube-dl-light,
rofi-wayland,
}:
############
Expand Down Expand Up @@ -57,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
wrapProgram $out/bin/play-music \
--prefix PATH : ${lib.makeBinPath [
mpv
youtube-dl
youtube-dl-light
rofi-wayland
]}
'';
Expand Down

0 comments on commit 44112b2

Please sign in to comment.