This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl -w | |
use strict; | |
use IPC::Open2; | |
use IPC::Open3; | |
my $SHA1_PATH="/Users/ethomson/Projects/libgit2/libgit2/tests/resources/testrepo.git"; | |
my $SHA256_PATH="/tmp/testrepo_256.git"; | |
my $MAPPING_PATH="${SHA256_PATH}/object-idx"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _GNU_SOURCE | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <errno.h> | |
#include <assert.h> | |
#define DATA "Hello, world.\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
strategy: | |
matrix: | |
key: [value1, value2, value3, value4] | |
include: | |
- key: value1 | |
other: other_value1 | |
still_another: still_another_value1 | |
- key: value2 | |
other: other_value2 | |
still_another: still_another_value2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Send a Tweet | |
on: [push] | |
jobs: | |
tweet: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: ethomson/send-tweet-action@v1 | |
with: | |
status: "Hello! This tweet was sent by a GitHub Actions workflow!" | |
consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Wiki Page Changed | |
on: gollum | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
echo "The page updated was: $(jq --raw-output .pages[0].html_url '${{ github.event_path }}')" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Comment | |
on: issue_comment | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
echo "The comment was: $(jq --raw-output .comment.body '${{ github.event_path }}')" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Self Hosted | |
on: [push] | |
jobs: | |
comment: | |
runs-on: self-hosted | |
steps: | |
- run: uname -a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Release | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
publish: | |
runs-on: ubuntu-latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node CI | |
on: | |
pull_request: | |
branches: | |
jobs: | |
build: | |
runs-on: ubuntu-latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Comment | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
steps: |
NewerOlder