Skip to content

Commit

Permalink
ci: use dependabot to update github actions versions (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed May 31, 2023
1 parent fc80c1a commit 9c347d7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "daily"
14 changes: 7 additions & 7 deletions .github/workflows/nightly-build-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
ref: develop

- name: Setup Python
uses: actions/setup-python@v4.0.0
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
ref: develop

- name: Setup Python
uses: actions/setup-python@v4.0.0
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:

- name: Upload mf6io docs
if: runner.os == 'Linux'
uses: actions/upload-artifact@v3.1.0
uses: actions/upload-artifact@v3
with:
name: mf6io
path: ${{ matrix.artifact_name }}/doc/mf6io.pdf
Expand All @@ -296,15 +296,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Download artifacts
uses: actions/download-artifact@v3.0.0
uses: actions/download-artifact@v3
with:
path: nightly

- name: List files in the artifact directory
run: ls -l nightly

- name: Get time
uses: josStorer/get-current-time@v2.0.0
uses: josStorer/get-current-time@v2
id: current-time
with:
format: YYYYMMDD
Expand All @@ -316,7 +316,7 @@ jobs:
run: echo $TIME $F_TIME

- name: Create release
uses: ncipollo/release-action@v1.10.0
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.current-time.outputs.formattedTime }}
name: ${{ steps.current-time.outputs.formattedTime }} nightly build
Expand All @@ -330,7 +330,7 @@ jobs:
run: find nightly -type f ! -name '*.zip' ! -name '*.pdf' -delete

- name: Upload release assets
uses: svenstaro/upload-release-action@2.3.0
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: nightly/**
Expand Down

0 comments on commit 9c347d7

Please sign in to comment.