"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file ".github/workflows/build.yml" between
shellcheck-0.8.0.tar.gz and shellcheck-0.9.0.tar.gz

About: ShellCheck is a static analysis and linting tool for sh/bash scripts (written in Haskell).

build.yml  (shellcheck-0.8.0):build.yml  (shellcheck-0.9.0)
skipping to change at line 18 skipping to change at line 18
name: Package Source Code name: Package Source Code
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install Dependencies - name: Install Dependencies
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-mark manual ghc # Don't bother installing ghc just to tar up source sudo apt-mark manual ghc # Don't bother installing ghc just to tar up source
sudo apt-get install cabal-install sudo apt-get install cabal-install
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Deduce tags - name: Deduce tags
run: | run: |
mkdir source mkdir source
echo "latest" > source/tags echo "latest" > source/tags
if tag=$(git describe --exact-match --tags) if tag=$(git describe --exact-match --tags)
then then
echo "stable" >> source/tags echo "stable" >> source/tags
skipping to change at line 40 skipping to change at line 40
fi fi
cat source/tags cat source/tags
- name: Package Source - name: Package Source
run: | run: |
grep "stable" source/tags || ./setgitversion grep "stable" source/tags || ./setgitversion
cabal sdist cabal sdist
mv dist-newstyle/sdist/*.tar.gz source/source.tar.gz mv dist-newstyle/sdist/*.tar.gz source/source.tar.gz
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: source name: source
path: source/ path: source/
build_source: build_source:
name: Build Source Code name: Build Source Code
needs: package_source needs: package_source
strategy: strategy:
matrix: matrix:
build: [linux.x86_64, linux.aarch64, linux.armv6hf, darwin.x86_64, windo ws.x86_64] build: [linux.x86_64, linux.aarch64, linux.armv6hf, darwin.x86_64, windo ws.x86_64]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Download artifacts - name: Download artifacts
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
- name: Build source - name: Build source
run: | run: |
mkdir -p bin mkdir -p bin
mkdir -p bin/${{matrix.build}} mkdir -p bin/${{matrix.build}}
( cd bin && ../build/run_builder ../source/source.tar.gz ../build/${{m atrix.build}} ) ( cd bin && ../build/run_builder ../source/source.tar.gz ../build/${{m atrix.build}} )
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: bin name: bin
path: bin/ path: bin/
package_binary: package_binary:
name: Package Binaries name: Package Binaries
needs: build_source needs: build_source
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Download artifacts - name: Download artifacts
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
- name: Work around GitHub permissions bug - name: Work around GitHub permissions bug
run: chmod +x bin/*/shellcheck* run: chmod +x bin/*/shellcheck*
- name: Package binaries - name: Package binaries
run: | run: |
export TAGS="$(cat source/tags)" export TAGS="$(cat source/tags)"
mkdir -p deploy mkdir -p deploy
cp -r bin/* deploy cp -r bin/* deploy
cd deploy cd deploy
../.prepare_deploy ../.prepare_deploy
rm -rf */ README* LICENSE* rm -rf */ README* LICENSE*
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: deploy name: deploy
path: deploy/ path: deploy/
deploy: deploy:
name: Deploy binaries name: Deploy binaries
needs: package_binary needs: package_binary
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: Deploy environment: Deploy
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Download artifacts - name: Download artifacts
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
- name: Upload to GitHub - name: Upload to GitHub
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
export TAGS="$(cat source/tags)" export TAGS="$(cat source/tags)"
./.github_deploy ./.github_deploy
- name: Waiting for GitHub to replicate uploaded releases - name: Waiting for GitHub to replicate uploaded releases
run: | run: |
 End of changes. 10 change blocks. 
10 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)