forked from malobeo/infrastructure
Compare commits
2 Commits
nixpkgs_bu
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
22e49eb5a1
|
|||
|
9648ff2adc
|
@@ -9,7 +9,7 @@ permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
update_and_check_flake:
|
||||
hydra_callback:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
NIXPKGS_ALLOW_UNFREE: 1
|
||||
@@ -22,9 +22,10 @@ jobs:
|
||||
uses: https://github.com/cachix/install-nix-action@v31
|
||||
with:
|
||||
github_access_token: ${{ secrets.AHTLONS_GITHUB_TOKEN }}
|
||||
- name: Check for string parsing
|
||||
- name: Find pr number
|
||||
run: |
|
||||
var=$(echo "${{ github.ref }}" | cut -d / -f 3)
|
||||
echo "$var"
|
||||
echo 'PR=$(echo "${{ github.ref }}" | cut -d / -f 3)' >> "$GITHUB_ENV"
|
||||
- name: run hydra wait
|
||||
run: nix run nixpkgs#hydra-cli -- -H https://hydra.dynamicdiscord.de jobset-wait malobeo2 "$var"
|
||||
run: |
|
||||
echo "Running now @ pr no $PR"
|
||||
nix run nixpkgs#hydra-cli -- -H https://hydra.dynamicdiscord.de jobset-wait malobeo2 "$PR"
|
||||
Reference in New Issue
Block a user