Skip to content

Commit

Permalink
CI: Update Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanzilla committed Jan 31, 2024
1 parent ef56665 commit 80eef87
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/atlas-update.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Create Atlas file list update pull request
name: Create Atlas File List Update Pull Request

on:
schedule:
- cron: '0 10 * * 1'
- cron: "0 10 * * 1"

workflow_dispatch:

Expand All @@ -14,26 +14,25 @@ jobs:
- uses: leafo/gh-actions-lua@v10
- uses: leafo/gh-actions-luarocks@v4

- name: Lua rocks
- name: Install Luarocks
run: |
luarocks install --server=https://luarocks.org/manifests/fouriertransformer ftcsv
shell: bash

- name: Update Atlas files from wago.tools
- name: Update Atlas Files from wago.tools
run: |
cd .github/scripts/
./wagotools-atlas.sh
shell: bash

- name: Cleanup luarocks
- name: Cleanup Luarocks
run: |
rm -rf .luarocks
rm -rf .luarocks
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch: update-atlasfiles
commit-message: Update atlas file list from wago.tools
title: Update atlas file list from wago.tools
commit-message: Update Atlas File List from wago.tools
title: Update Atlas File List from wago.tools
delete-branch: true
2 changes: 1 addition & 1 deletion .github/workflows/build-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
args: -zg retail

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: WeakAuras-DF
path: .release/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
args: -d -z

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: WeakAuras-PR#${{ github.event.number }}-${{ github.sha }}
path: .release/
Expand Down

0 comments on commit 80eef87

Please sign in to comment.