Skip to content

Commit

Permalink
for now do not run "install-run-latest-DEV"
Browse files Browse the repository at this point in the history
  • Loading branch information
per2jensen committed Mar 10, 2024
1 parent 33d0f38 commit 7ff4902
Showing 1 changed file with 23 additions and 27 deletions.
50 changes: 23 additions & 27 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,28 @@ jobs:
chmod +x $GITHUB_WORKSPACE/test/test-install-head.sh
$GITHUB_WORKSPACE/test/test-install-head.sh
# package the latest DEV tag
# install using the install procedure described in the README
# run a full backup
# run a diff backup
# run an inc backup
install-run-latest-DEV:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# # package the latest DEV tag
# # install using the install procedure described in the README
# # run a full backup
# # run a diff backup
# # run an inc backup
# install-run-latest-DEV:
# runs-on: ubuntu-latest
# steps:
# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# - uses: actions/checkout@v4

# From: https://lannonbr.com/blog/2019-12-09-git-commit-in-actions
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Install required packages
run: sudo apt install -y dar dar-static par2 git

- name: run packaging script, install and run dar-backup
run: |
git config user.name "GitHub Actions Bot"
# # From: https://lannonbr.com/blog/2019-12-09-git-commit-in-actions
# # setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
# - name: setup git config
# run: |
# git config user.name "GitHub Actions Bot"
# git config user.email "<>"

# - name: Install required packages
# run: sudo apt install -y dar dar-static par2 git

# - name: run packaging script, install and run dar-backup
# run: |
# git config user.name "GitHub Actions Bot"
git config user.email "<>"
LATEST_DEV=$(git tag|grep -P "DEV\d.\d"|sort|tail -n1)
echo LATEST_DEV tag: "$LATEST_DEV"
chmod +x $GITHUB_WORKSPACE/test/test-mk-release-on-dev.sh
$GITHUB_WORKSPACE/test/test-mk-release-on-dev.sh "$LATEST_DEV"

0 comments on commit 7ff4902

Please sign in to comment.