Skip to content

Commit

Permalink
Update GitHub Actions for Node 16 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
xarantolus committed Apr 12, 2023
1 parent 6a854c9 commit 356a218
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-filterlists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build filterlists
on:
push:
branches: [ main ]

schedule:
- cron: "0 15 * * *"

Expand All @@ -15,12 +15,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ^1.15

- name: Download repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download dependencies
run: |
Expand All @@ -29,14 +29,14 @@ jobs:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Runnning build/generation script
shell: bash
run: |
bash ./generate.sh 2>&1
- name: Generate tag name
run: echo "TAG_NAME=$(date +%F-%H-%M)" >> $GITHUB_ENV
run: echo "TAG_NAME=$(date +%F-%H-%M)" >> $GITHUB_ENV

- name: Release filter lists
uses: softprops/action-gh-release@v1
Expand All @@ -47,17 +47,17 @@ jobs:
body_path: release.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Delete older releases
uses: dev-drprasad/delete-older-releases@v0.1.0
uses: dev-drprasad/delete-older-releases@v0.2.1
with:
keep_latest: 2
delete_tags: true
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload log files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Logs
path: logs/*.log
Expand Down

0 comments on commit 356a218

Please sign in to comment.