mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Update actions
This commit is contained in:
parent
dffac087f8
commit
4b031af693
3 changed files with 18 additions and 18 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -16,13 +16,13 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
run-tests: ${{ steps.set-output.outputs.run-tests }}
|
run-tests: ${{ steps.set-output.outputs.run-tests }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Get specific changed files
|
- name: Get specific changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v25
|
uses: tj-actions/changed-files@v42
|
||||||
with:
|
with:
|
||||||
separator: ","
|
separator: ","
|
||||||
files: |
|
files: |
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Exit Status
|
- name: Upload Exit Status
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: exitstatus
|
name: exitstatus
|
||||||
path: exitstatus
|
path: exitstatus
|
||||||
|
@ -59,7 +59,7 @@ jobs:
|
||||||
|
|
||||||
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
|
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3.9
|
- name: Set up Python 3.9
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
@ -84,7 +84,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Exit Status
|
- name: Upload Exit Status
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: exitstatus
|
name: exitstatus
|
||||||
path: exitstatus
|
path: exitstatus
|
||||||
|
@ -96,7 +96,7 @@ jobs:
|
||||||
container: koalaman/shellcheck-alpine:v0.7.0
|
container: koalaman/shellcheck-alpine:v0.7.0
|
||||||
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
|
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: ShellCheck
|
- name: ShellCheck
|
||||||
run: |
|
run: |
|
||||||
shellcheck -s sh -f tty bootstrap-salt.sh
|
shellcheck -s sh -f tty bootstrap-salt.sh
|
||||||
|
@ -109,7 +109,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Exit Status
|
- name: Upload Exit Status
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: exitstatus
|
name: exitstatus
|
||||||
path: exitstatus
|
path: exitstatus
|
||||||
|
@ -603,14 +603,14 @@ jobs:
|
||||||
|
|
||||||
- name: Download Exit Status Files
|
- name: Download Exit Status Files
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: exitstatus
|
name: exitstatus
|
||||||
path: exitstatus
|
path: exitstatus
|
||||||
|
|
||||||
- name: Delete Exit Status Artifacts
|
- name: Delete Exit Status Artifacts
|
||||||
if: always()
|
if: always()
|
||||||
uses: geekyeggo/delete-artifact@v1
|
uses: geekyeggo/delete-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: exitstatus
|
name: exitstatus
|
||||||
failOnError: false
|
failOnError: false
|
||||||
|
|
4
.github/workflows/templates/ci-tail.yml
vendored
4
.github/workflows/templates/ci-tail.yml
vendored
|
@ -11,14 +11,14 @@
|
||||||
|
|
||||||
- name: Download Exit Status Files
|
- name: Download Exit Status Files
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: exitstatus
|
name: exitstatus
|
||||||
path: exitstatus
|
path: exitstatus
|
||||||
|
|
||||||
- name: Delete Exit Status Artifacts
|
- name: Delete Exit Status Artifacts
|
||||||
if: always()
|
if: always()
|
||||||
uses: geekyeggo/delete-artifact@v1
|
uses: geekyeggo/delete-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: exitstatus
|
name: exitstatus
|
||||||
failOnError: false
|
failOnError: false
|
||||||
|
|
14
.github/workflows/templates/ci.yml
vendored
14
.github/workflows/templates/ci.yml
vendored
|
@ -16,13 +16,13 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
run-tests: ${{ steps.set-output.outputs.run-tests }}
|
run-tests: ${{ steps.set-output.outputs.run-tests }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Get specific changed files
|
- name: Get specific changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v25
|
uses: tj-actions/changed-files@v42
|
||||||
with:
|
with:
|
||||||
separator: ","
|
separator: ","
|
||||||
files: |
|
files: |
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Exit Status
|
- name: Upload Exit Status
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: exitstatus
|
name: exitstatus
|
||||||
path: exitstatus
|
path: exitstatus
|
||||||
|
@ -59,7 +59,7 @@ jobs:
|
||||||
|
|
||||||
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
|
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python 3.9
|
- name: Set up Python 3.9
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
@ -84,7 +84,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Exit Status
|
- name: Upload Exit Status
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: exitstatus
|
name: exitstatus
|
||||||
path: exitstatus
|
path: exitstatus
|
||||||
|
@ -96,7 +96,7 @@ jobs:
|
||||||
container: koalaman/shellcheck-alpine:v0.7.0
|
container: koalaman/shellcheck-alpine:v0.7.0
|
||||||
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
|
if: github.event_name == 'push' || needs.collect-changed-files.outputs.run-tests == 'true'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: ShellCheck
|
- name: ShellCheck
|
||||||
run: |
|
run: |
|
||||||
shellcheck -s sh -f tty bootstrap-salt.sh
|
shellcheck -s sh -f tty bootstrap-salt.sh
|
||||||
|
@ -109,7 +109,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Exit Status
|
- name: Upload Exit Status
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: exitstatus
|
name: exitstatus
|
||||||
path: exitstatus
|
path: exitstatus
|
||||||
|
|
Loading…
Add table
Reference in a new issue